Skip to content

Latest commit

 

History

History
152 lines (92 loc) · 4.46 KB

File metadata and controls

152 lines (92 loc) · 4.46 KB

\RepositoryDeleteApi

All URIs are relative to http://localhost

Method HTTP request Description
ApisIntegrationsK8smgmtIoV3ProjectsProjectRepositoriesNameDelete Delete /apis/integrations.k8smgmt.io/v3/projects/{project}/repositories/{name}
ApisIntegrationsK8smgmtIoV3ProjectsProjectRepositorysNameDelete Delete /apis/integrations.k8smgmt.io/v3/projects/{project}/repositorys/{name}

ApisIntegrationsK8smgmtIoV3ProjectsProjectRepositoriesNameDelete

ApisIntegrationsK8smgmtIoV3ProjectsProjectRepositoriesNameDelete(ctx, project, name).Execute()

Example

package main

import (
    "context"
    "fmt"
    "os"
    openapiclient "github.com/GIT_USER_ID/GIT_REPO_ID"
)

func main() {
    project := "project_example" // string | project of the resource
    name := "name_example" // string | name of the resource

    configuration := openapiclient.NewConfiguration()
    apiClient := openapiclient.NewAPIClient(configuration)
    r, err := apiClient.RepositoryDeleteApi.ApisIntegrationsK8smgmtIoV3ProjectsProjectRepositoriesNameDelete(context.Background(), project, name).Execute()
    if err != nil {
        fmt.Fprintf(os.Stderr, "Error when calling `RepositoryDeleteApi.ApisIntegrationsK8smgmtIoV3ProjectsProjectRepositoriesNameDelete``: %v\n", err)
        fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
    }
}

Path Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
project string project of the resource
name string name of the resource

Other Parameters

Other parameters are passed through a pointer to a apiApisIntegrationsK8smgmtIoV3ProjectsProjectRepositoriesNameDeleteRequest struct via the builder pattern

Name Type Description Notes

Return type

(empty response body)

Authorization

ApiKeyAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json, application/yaml

[Back to top] [Back to API list] [Back to Model list] [Back to README]

ApisIntegrationsK8smgmtIoV3ProjectsProjectRepositorysNameDelete

ApisIntegrationsK8smgmtIoV3ProjectsProjectRepositorysNameDelete(ctx, project, name).Execute()

Example

package main

import (
    "context"
    "fmt"
    "os"
    openapiclient "github.com/GIT_USER_ID/GIT_REPO_ID"
)

func main() {
    project := "project_example" // string | project of the resource
    name := "name_example" // string | name of the resource

    configuration := openapiclient.NewConfiguration()
    apiClient := openapiclient.NewAPIClient(configuration)
    r, err := apiClient.RepositoryDeleteApi.ApisIntegrationsK8smgmtIoV3ProjectsProjectRepositorysNameDelete(context.Background(), project, name).Execute()
    if err != nil {
        fmt.Fprintf(os.Stderr, "Error when calling `RepositoryDeleteApi.ApisIntegrationsK8smgmtIoV3ProjectsProjectRepositorysNameDelete``: %v\n", err)
        fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
    }
}

Path Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
project string project of the resource
name string name of the resource

Other Parameters

Other parameters are passed through a pointer to a apiApisIntegrationsK8smgmtIoV3ProjectsProjectRepositorysNameDeleteRequest struct via the builder pattern

Name Type Description Notes

Return type

(empty response body)

Authorization

ApiKeyAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json, application/yaml

[Back to top] [Back to API list] [Back to Model list] [Back to README]