ar

package
v1.2.0-beta.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 23, 2025 License: MIT Imports: 10 Imported by: 0

Documentation

Overview

Package ar provides primitives to interact with the openapi HTTP API.

Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.4.1 DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCreateRegistryRequest

func NewCreateRegistryRequest(server string, params *CreateRegistryParams, body CreateRegistryJSONRequestBody) (*http.Request, error)

NewCreateRegistryRequest calls the generic CreateRegistry builder with application/json body

func NewCreateRegistryRequestWithBody

func NewCreateRegistryRequestWithBody(server string, params *CreateRegistryParams, contentType string, body io.Reader) (*http.Request, error)

NewCreateRegistryRequestWithBody generates requests for CreateRegistry with any type of body

func NewCreateReplicationRuleRequest

func NewCreateReplicationRuleRequest(server string, params *CreateReplicationRuleParams, body CreateReplicationRuleJSONRequestBody) (*http.Request, error)

NewCreateReplicationRuleRequest calls the generic CreateReplicationRule builder with application/json body

func NewCreateReplicationRuleRequestWithBody

func NewCreateReplicationRuleRequestWithBody(server string, params *CreateReplicationRuleParams, contentType string, body io.Reader) (*http.Request, error)

NewCreateReplicationRuleRequestWithBody generates requests for CreateReplicationRule with any type of body

func NewCreateWebhookRequest

func NewCreateWebhookRequest(server string, registryRef RegistryRefPathParam, body CreateWebhookJSONRequestBody) (*http.Request, error)

NewCreateWebhookRequest calls the generic CreateWebhook builder with application/json body

func NewCreateWebhookRequestWithBody

func NewCreateWebhookRequestWithBody(server string, registryRef RegistryRefPathParam, contentType string, body io.Reader) (*http.Request, error)

NewCreateWebhookRequestWithBody generates requests for CreateWebhook with any type of body

func NewDeleteArtifactRequest

func NewDeleteArtifactRequest(server string, registryRef RegistryRefPathParam, artifact ArtifactPathParam) (*http.Request, error)

NewDeleteArtifactRequest generates requests for DeleteArtifact

func NewDeleteArtifactVersionRequest

func NewDeleteArtifactVersionRequest(server string, registryRef RegistryRefPathParam, artifact ArtifactPathParam, version VersionPathParam) (*http.Request, error)

NewDeleteArtifactVersionRequest generates requests for DeleteArtifactVersion

func NewDeleteRegistryRequest

func NewDeleteRegistryRequest(server string, registryRef RegistryRefPathParam) (*http.Request, error)

NewDeleteRegistryRequest generates requests for DeleteRegistry

func NewDeleteReplicationRuleRequest

func NewDeleteReplicationRuleRequest(server string, id string) (*http.Request, error)

NewDeleteReplicationRuleRequest generates requests for DeleteReplicationRule

func NewDeleteWebhookRequest

func NewDeleteWebhookRequest(server string, registryRef RegistryRefPathParam, webhookIdentifier WebhookIdentifierPathParam) (*http.Request, error)

NewDeleteWebhookRequest generates requests for DeleteWebhook

func NewGetAllArtifactVersionsRequest

func NewGetAllArtifactVersionsRequest(server string, registryRef RegistryRefPathParam, artifact ArtifactPathParam, params *GetAllArtifactVersionsParams) (*http.Request, error)

NewGetAllArtifactVersionsRequest generates requests for GetAllArtifactVersions

func NewGetAllArtifactsByRegistryRequest

func NewGetAllArtifactsByRegistryRequest(server string, registryRef RegistryRefPathParam, params *GetAllArtifactsByRegistryParams) (*http.Request, error)

NewGetAllArtifactsByRegistryRequest generates requests for GetAllArtifactsByRegistry

func NewGetAllHarnessArtifactsRequest

func NewGetAllHarnessArtifactsRequest(server string, spaceRef SpaceRefPathParam, params *GetAllHarnessArtifactsParams) (*http.Request, error)

NewGetAllHarnessArtifactsRequest generates requests for GetAllHarnessArtifacts

func NewGetAllRegistriesRequest

func NewGetAllRegistriesRequest(server string, spaceRef SpaceRefPathParam, params *GetAllRegistriesParams) (*http.Request, error)

NewGetAllRegistriesRequest generates requests for GetAllRegistries

func NewGetArtifactDeploymentsRequest

func NewGetArtifactDeploymentsRequest(server string, registryRef RegistryRefPathParam, artifact ArtifactPathParam, version VersionPathParam, params *GetArtifactDeploymentsParams) (*http.Request, error)

NewGetArtifactDeploymentsRequest generates requests for GetArtifactDeployments

func NewGetArtifactDetailsRequest

func NewGetArtifactDetailsRequest(server string, registryRef RegistryRefPathParam, artifact ArtifactPathParam, version VersionPathParam, params *GetArtifactDetailsParams) (*http.Request, error)

NewGetArtifactDetailsRequest generates requests for GetArtifactDetails

func NewGetArtifactFilesRequest

func NewGetArtifactFilesRequest(server string, registryRef RegistryRefPathParam, artifact ArtifactPathParam, version VersionPathParam, params *GetArtifactFilesParams) (*http.Request, error)

NewGetArtifactFilesRequest generates requests for GetArtifactFiles

func NewGetArtifactStatsForRegistryRequest

func NewGetArtifactStatsForRegistryRequest(server string, registryRef RegistryRefPathParam, params *GetArtifactStatsForRegistryParams) (*http.Request, error)

NewGetArtifactStatsForRegistryRequest generates requests for GetArtifactStatsForRegistry

func NewGetArtifactStatsForSpaceRequest

func NewGetArtifactStatsForSpaceRequest(server string, spaceRef SpaceRefPathParam, params *GetArtifactStatsForSpaceParams) (*http.Request, error)

NewGetArtifactStatsForSpaceRequest generates requests for GetArtifactStatsForSpace

func NewGetArtifactStatsRequest

func NewGetArtifactStatsRequest(server string, registryRef RegistryRefPathParam, artifact ArtifactPathParam, params *GetArtifactStatsParams) (*http.Request, error)

NewGetArtifactStatsRequest generates requests for GetArtifactStats

func NewGetArtifactSummaryRequest

func NewGetArtifactSummaryRequest(server string, registryRef RegistryRefPathParam, artifact ArtifactPathParam) (*http.Request, error)

NewGetArtifactSummaryRequest generates requests for GetArtifactSummary

func NewGetArtifactVersionSummaryRequest

func NewGetArtifactVersionSummaryRequest(server string, registryRef RegistryRefPathParam, artifact ArtifactPathParam, version VersionPathParam, params *GetArtifactVersionSummaryParams) (*http.Request, error)

NewGetArtifactVersionSummaryRequest generates requests for GetArtifactVersionSummary

func NewGetClientSetupDetailsRequest

func NewGetClientSetupDetailsRequest(server string, registryRef RegistryRefPathParam, params *GetClientSetupDetailsParams) (*http.Request, error)

NewGetClientSetupDetailsRequest generates requests for GetClientSetupDetails

func NewGetDockerArtifactDetailsRequest

func NewGetDockerArtifactDetailsRequest(server string, registryRef RegistryRefPathParam, artifact ArtifactPathParam, version VersionPathParam, params *GetDockerArtifactDetailsParams) (*http.Request, error)

NewGetDockerArtifactDetailsRequest generates requests for GetDockerArtifactDetails

func NewGetDockerArtifactIntegrationDetailsRequest

func NewGetDockerArtifactIntegrationDetailsRequest(server string, registryRef RegistryRefPathParam, artifact ArtifactPathParam, version VersionPathParam, params *GetDockerArtifactIntegrationDetailsParams) (*http.Request, error)

NewGetDockerArtifactIntegrationDetailsRequest generates requests for GetDockerArtifactIntegrationDetails

func NewGetDockerArtifactLayersRequest

func NewGetDockerArtifactLayersRequest(server string, registryRef RegistryRefPathParam, artifact ArtifactPathParam, version VersionPathParam, params *GetDockerArtifactLayersParams) (*http.Request, error)

NewGetDockerArtifactLayersRequest generates requests for GetDockerArtifactLayers

func NewGetDockerArtifactManifestRequest

func NewGetDockerArtifactManifestRequest(server string, registryRef RegistryRefPathParam, artifact ArtifactPathParam, version VersionPathParam, params *GetDockerArtifactManifestParams) (*http.Request, error)

NewGetDockerArtifactManifestRequest generates requests for GetDockerArtifactManifest

func NewGetDockerArtifactManifestsRequest

func NewGetDockerArtifactManifestsRequest(server string, registryRef RegistryRefPathParam, artifact ArtifactPathParam, version VersionPathParam) (*http.Request, error)

NewGetDockerArtifactManifestsRequest generates requests for GetDockerArtifactManifests

func NewGetHelmArtifactDetailsRequest

func NewGetHelmArtifactDetailsRequest(server string, registryRef RegistryRefPathParam, artifact ArtifactPathParam, version VersionPathParam) (*http.Request, error)

NewGetHelmArtifactDetailsRequest generates requests for GetHelmArtifactDetails

func NewGetHelmArtifactManifestRequest

func NewGetHelmArtifactManifestRequest(server string, registryRef RegistryRefPathParam, artifact ArtifactPathParam, version VersionPathParam) (*http.Request, error)

NewGetHelmArtifactManifestRequest generates requests for GetHelmArtifactManifest

func NewGetMigrationLogsForImageRequest

func NewGetMigrationLogsForImageRequest(server string, id string, imageId string) (*http.Request, error)

NewGetMigrationLogsForImageRequest generates requests for GetMigrationLogsForImage

func NewGetRegistryRequest

func NewGetRegistryRequest(server string, registryRef RegistryRefPathParam) (*http.Request, error)

NewGetRegistryRequest generates requests for GetRegistry

func NewGetReplicationRuleRequest

func NewGetReplicationRuleRequest(server string, id string) (*http.Request, error)

NewGetReplicationRuleRequest generates requests for GetReplicationRule

func NewGetStorageDetailsRequest

func NewGetStorageDetailsRequest(server string, spaceRef SpaceRefPathParam) (*http.Request, error)

NewGetStorageDetailsRequest generates requests for GetStorageDetails

func NewGetWebhookExecutionRequest

func NewGetWebhookExecutionRequest(server string, registryRef RegistryRefPathParam, webhookIdentifier WebhookIdentifierPathParam, webhookExecutionId WebhookExecutionIdPathParam) (*http.Request, error)

NewGetWebhookExecutionRequest generates requests for GetWebhookExecution

func NewGetWebhookRequest

func NewGetWebhookRequest(server string, registryRef RegistryRefPathParam, webhookIdentifier WebhookIdentifierPathParam) (*http.Request, error)

NewGetWebhookRequest generates requests for GetWebhook

func NewListArtifactLabelsRequest

func NewListArtifactLabelsRequest(server string, registryRef RegistryRefPathParam, params *ListArtifactLabelsParams) (*http.Request, error)

NewListArtifactLabelsRequest generates requests for ListArtifactLabels

func NewListMigrationImagesRequest

func NewListMigrationImagesRequest(server string, id string, params *ListMigrationImagesParams) (*http.Request, error)

NewListMigrationImagesRequest generates requests for ListMigrationImages

func NewListReplicationRulesRequest

func NewListReplicationRulesRequest(server string, params *ListReplicationRulesParams) (*http.Request, error)

NewListReplicationRulesRequest generates requests for ListReplicationRules

func NewListWebhookExecutionsRequest

func NewListWebhookExecutionsRequest(server string, registryRef RegistryRefPathParam, webhookIdentifier WebhookIdentifierPathParam, params *ListWebhookExecutionsParams) (*http.Request, error)

NewListWebhookExecutionsRequest generates requests for ListWebhookExecutions

func NewListWebhooksRequest

func NewListWebhooksRequest(server string, registryRef RegistryRefPathParam, params *ListWebhooksParams) (*http.Request, error)

NewListWebhooksRequest generates requests for ListWebhooks

func NewModifyRegistryRequest

func NewModifyRegistryRequest(server string, registryRef RegistryRefPathParam, body ModifyRegistryJSONRequestBody) (*http.Request, error)

NewModifyRegistryRequest calls the generic ModifyRegistry builder with application/json body

func NewModifyRegistryRequestWithBody

func NewModifyRegistryRequestWithBody(server string, registryRef RegistryRefPathParam, contentType string, body io.Reader) (*http.Request, error)

NewModifyRegistryRequestWithBody generates requests for ModifyRegistry with any type of body

func NewReTriggerWebhookExecutionRequest

func NewReTriggerWebhookExecutionRequest(server string, registryRef RegistryRefPathParam, webhookIdentifier WebhookIdentifierPathParam, webhookExecutionId WebhookExecutionIdPathParam) (*http.Request, error)

NewReTriggerWebhookExecutionRequest generates requests for ReTriggerWebhookExecution

func NewRedirectHarnessArtifactRequest

func NewRedirectHarnessArtifactRequest(server string, registryIdentifier RegistryIdentifierPathParam, artifact ArtifactPathParam, params *RedirectHarnessArtifactParams) (*http.Request, error)

NewRedirectHarnessArtifactRequest generates requests for RedirectHarnessArtifact

func NewStartMigrationRequest

func NewStartMigrationRequest(server string, id string) (*http.Request, error)

NewStartMigrationRequest generates requests for StartMigration

func NewStopMigrationRequest

func NewStopMigrationRequest(server string, id string) (*http.Request, error)

NewStopMigrationRequest generates requests for StopMigration

func NewUpdateArtifactLabelsRequest

func NewUpdateArtifactLabelsRequest(server string, registryRef RegistryRefPathParam, artifact ArtifactPathParam, body UpdateArtifactLabelsJSONRequestBody) (*http.Request, error)

NewUpdateArtifactLabelsRequest calls the generic UpdateArtifactLabels builder with application/json body

func NewUpdateArtifactLabelsRequestWithBody

func NewUpdateArtifactLabelsRequestWithBody(server string, registryRef RegistryRefPathParam, artifact ArtifactPathParam, contentType string, body io.Reader) (*http.Request, error)

NewUpdateArtifactLabelsRequestWithBody generates requests for UpdateArtifactLabels with any type of body

func NewUpdateReplicationRuleRequest

func NewUpdateReplicationRuleRequest(server string, id string, body UpdateReplicationRuleJSONRequestBody) (*http.Request, error)

NewUpdateReplicationRuleRequest calls the generic UpdateReplicationRule builder with application/json body

func NewUpdateReplicationRuleRequestWithBody

func NewUpdateReplicationRuleRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)

NewUpdateReplicationRuleRequestWithBody generates requests for UpdateReplicationRule with any type of body

func NewUpdateWebhookRequest

func NewUpdateWebhookRequest(server string, registryRef RegistryRefPathParam, webhookIdentifier WebhookIdentifierPathParam, body UpdateWebhookJSONRequestBody) (*http.Request, error)

NewUpdateWebhookRequest calls the generic UpdateWebhook builder with application/json body

func NewUpdateWebhookRequestWithBody

func NewUpdateWebhookRequestWithBody(server string, registryRef RegistryRefPathParam, webhookIdentifier WebhookIdentifierPathParam, contentType string, body io.Reader) (*http.Request, error)

NewUpdateWebhookRequestWithBody generates requests for UpdateWebhook with any type of body

Types

type AccountIdentifierParam

type AccountIdentifierParam = string

AccountIdentifierParam defines model for AccountIdentifierParam.

type Anonymous

type Anonymous = interface{}

Anonymous defines model for Anonymous.

type ArtifactDeploymentsDetail

type ArtifactDeploymentsDetail struct {
	Count         *int    `json:"count,omitempty"`
	EnvIdentifier *string `json:"envIdentifier,omitempty"`
	EnvName       *string `json:"envName,omitempty"`

	// EnvType Environment Type
	EnvType                   *EnvironmentType `json:"envType,omitempty"`
	InfraIdentifier           *string          `json:"infraIdentifier,omitempty"`
	InfraName                 *string          `json:"infraName,omitempty"`
	LastDeployedAt            *string          `json:"lastDeployedAt,omitempty"`
	LastDeployedById          *string          `json:"lastDeployedById,omitempty"`
	LastDeployedByName        *string          `json:"lastDeployedByName,omitempty"`
	LastPipelineExecutionId   *string          `json:"lastPipelineExecutionId,omitempty"`
	LastPipelineExecutionName *string          `json:"lastPipelineExecutionName,omitempty"`
	OrgIdentifier             *string          `json:"orgIdentifier,omitempty"`
	PipelineId                *string          `json:"pipelineId,omitempty"`
	ProjectIdentifier         *string          `json:"projectIdentifier,omitempty"`
	ServiceIdentifier         *string          `json:"serviceIdentifier,omitempty"`
	ServiceName               *string          `json:"serviceName,omitempty"`
}

ArtifactDeploymentsDetail Artifact deployments Detail

type ArtifactDeploymentsDetails

type ArtifactDeploymentsDetails struct {
	// Deployments A list of Artifact Deployments
	Deployments ArtifactDeploymentsList `json:"deployments"`

	// DeploymentsStats DeploymentStats
	DeploymentsStats *DeploymentStats `json:"deploymentsStats,omitempty"`
}

ArtifactDeploymentsDetails Docker Artifact deployments Details

type ArtifactDeploymentsList

type ArtifactDeploymentsList struct {
	// Deployments A list of Artifact
	Deployments *[]ArtifactDeploymentsDetail `json:"deployments,omitempty"`

	// ItemCount The total number of items
	ItemCount *int64 `json:"itemCount,omitempty"`

	// PageCount The total number of pages
	PageCount *int64 `json:"pageCount,omitempty"`

	// PageIndex The current page
	PageIndex *int64 `json:"pageIndex,omitempty"`

	// PageSize The number of items per page
	PageSize *int `json:"pageSize,omitempty"`
}

ArtifactDeploymentsList A list of Artifact Deployments

type ArtifactDeploymentsResponse

type ArtifactDeploymentsResponse struct {
	// Data Docker Artifact deployments Details
	Data ArtifactDeploymentsDetails `json:"data"`

	// Status Indicates if the request was successful or not
	Status Status `json:"status"`
}

ArtifactDeploymentsResponse defines model for ArtifactDeploymentsResponse.

type ArtifactDetail

type ArtifactDetail struct {
	CreatedAt     *string `json:"createdAt,omitempty"`
	CreatedBy     *string `json:"createdBy,omitempty"`
	DownloadCount *int64  `json:"downloadCount,omitempty"`
	ModifiedAt    *string `json:"modifiedAt,omitempty"`
	Name          *string `json:"name,omitempty"`

	// PackageType refers to package
	PackageType PackageType `json:"packageType"`
	Size        *string     `json:"size,omitempty"`
	Version     string      `json:"version"`
	// contains filtered or unexported fields
}

ArtifactDetail Artifact Detail

func (ArtifactDetail) AsDockerArtifactDetailConfig

func (t ArtifactDetail) AsDockerArtifactDetailConfig() (DockerArtifactDetailConfig, error)

AsDockerArtifactDetailConfig returns the union data inside the ArtifactDetail as a DockerArtifactDetailConfig

func (ArtifactDetail) AsGenericArtifactDetailConfig

func (t ArtifactDetail) AsGenericArtifactDetailConfig() (GenericArtifactDetailConfig, error)

AsGenericArtifactDetailConfig returns the union data inside the ArtifactDetail as a GenericArtifactDetailConfig

func (ArtifactDetail) AsHelmArtifactDetailConfig

func (t ArtifactDetail) AsHelmArtifactDetailConfig() (HelmArtifactDetailConfig, error)

AsHelmArtifactDetailConfig returns the union data inside the ArtifactDetail as a HelmArtifactDetailConfig

func (ArtifactDetail) AsMavenArtifactDetailConfig

func (t ArtifactDetail) AsMavenArtifactDetailConfig() (MavenArtifactDetailConfig, error)

AsMavenArtifactDetailConfig returns the union data inside the ArtifactDetail as a MavenArtifactDetailConfig

func (ArtifactDetail) AsNpmArtifactDetailConfig

func (t ArtifactDetail) AsNpmArtifactDetailConfig() (NpmArtifactDetailConfig, error)

AsNpmArtifactDetailConfig returns the union data inside the ArtifactDetail as a NpmArtifactDetailConfig

func (ArtifactDetail) AsPythonArtifactDetailConfig

func (t ArtifactDetail) AsPythonArtifactDetailConfig() (PythonArtifactDetailConfig, error)

AsPythonArtifactDetailConfig returns the union data inside the ArtifactDetail as a PythonArtifactDetailConfig

func (ArtifactDetail) AsRpmArtifactDetailConfig

func (t ArtifactDetail) AsRpmArtifactDetailConfig() (RpmArtifactDetailConfig, error)

AsRpmArtifactDetailConfig returns the union data inside the ArtifactDetail as a RpmArtifactDetailConfig

func (ArtifactDetail) Discriminator

func (t ArtifactDetail) Discriminator() (string, error)

func (*ArtifactDetail) FromDockerArtifactDetailConfig

func (t *ArtifactDetail) FromDockerArtifactDetailConfig(v DockerArtifactDetailConfig) error

FromDockerArtifactDetailConfig overwrites any union data inside the ArtifactDetail as the provided DockerArtifactDetailConfig

func (*ArtifactDetail) FromGenericArtifactDetailConfig

func (t *ArtifactDetail) FromGenericArtifactDetailConfig(v GenericArtifactDetailConfig) error

FromGenericArtifactDetailConfig overwrites any union data inside the ArtifactDetail as the provided GenericArtifactDetailConfig

func (*ArtifactDetail) FromHelmArtifactDetailConfig

func (t *ArtifactDetail) FromHelmArtifactDetailConfig(v HelmArtifactDetailConfig) error

FromHelmArtifactDetailConfig overwrites any union data inside the ArtifactDetail as the provided HelmArtifactDetailConfig

func (*ArtifactDetail) FromMavenArtifactDetailConfig

func (t *ArtifactDetail) FromMavenArtifactDetailConfig(v MavenArtifactDetailConfig) error

FromMavenArtifactDetailConfig overwrites any union data inside the ArtifactDetail as the provided MavenArtifactDetailConfig

func (*ArtifactDetail) FromNpmArtifactDetailConfig

func (t *ArtifactDetail) FromNpmArtifactDetailConfig(v NpmArtifactDetailConfig) error

FromNpmArtifactDetailConfig overwrites any union data inside the ArtifactDetail as the provided NpmArtifactDetailConfig

func (*ArtifactDetail) FromPythonArtifactDetailConfig

func (t *ArtifactDetail) FromPythonArtifactDetailConfig(v PythonArtifactDetailConfig) error

FromPythonArtifactDetailConfig overwrites any union data inside the ArtifactDetail as the provided PythonArtifactDetailConfig

func (*ArtifactDetail) FromRpmArtifactDetailConfig

func (t *ArtifactDetail) FromRpmArtifactDetailConfig(v RpmArtifactDetailConfig) error

FromRpmArtifactDetailConfig overwrites any union data inside the ArtifactDetail as the provided RpmArtifactDetailConfig

func (ArtifactDetail) MarshalJSON

func (t ArtifactDetail) MarshalJSON() ([]byte, error)

func (*ArtifactDetail) MergeDockerArtifactDetailConfig

func (t *ArtifactDetail) MergeDockerArtifactDetailConfig(v DockerArtifactDetailConfig) error

MergeDockerArtifactDetailConfig performs a merge with any union data inside the ArtifactDetail, using the provided DockerArtifactDetailConfig

func (*ArtifactDetail) MergeGenericArtifactDetailConfig

func (t *ArtifactDetail) MergeGenericArtifactDetailConfig(v GenericArtifactDetailConfig) error

MergeGenericArtifactDetailConfig performs a merge with any union data inside the ArtifactDetail, using the provided GenericArtifactDetailConfig

func (*ArtifactDetail) MergeHelmArtifactDetailConfig

func (t *ArtifactDetail) MergeHelmArtifactDetailConfig(v HelmArtifactDetailConfig) error

MergeHelmArtifactDetailConfig performs a merge with any union data inside the ArtifactDetail, using the provided HelmArtifactDetailConfig

func (*ArtifactDetail) MergeMavenArtifactDetailConfig

func (t *ArtifactDetail) MergeMavenArtifactDetailConfig(v MavenArtifactDetailConfig) error

MergeMavenArtifactDetailConfig performs a merge with any union data inside the ArtifactDetail, using the provided MavenArtifactDetailConfig

func (*ArtifactDetail) MergeNpmArtifactDetailConfig

func (t *ArtifactDetail) MergeNpmArtifactDetailConfig(v NpmArtifactDetailConfig) error

MergeNpmArtifactDetailConfig performs a merge with any union data inside the ArtifactDetail, using the provided NpmArtifactDetailConfig

func (*ArtifactDetail) MergePythonArtifactDetailConfig

func (t *ArtifactDetail) MergePythonArtifactDetailConfig(v PythonArtifactDetailConfig) error

MergePythonArtifactDetailConfig performs a merge with any union data inside the ArtifactDetail, using the provided PythonArtifactDetailConfig

func (*ArtifactDetail) MergeRpmArtifactDetailConfig

func (t *ArtifactDetail) MergeRpmArtifactDetailConfig(v RpmArtifactDetailConfig) error

MergeRpmArtifactDetailConfig performs a merge with any union data inside the ArtifactDetail, using the provided RpmArtifactDetailConfig

func (*ArtifactDetail) UnmarshalJSON

func (t *ArtifactDetail) UnmarshalJSON(b []byte) error

func (ArtifactDetail) ValueByDiscriminator

func (t ArtifactDetail) ValueByDiscriminator() (interface{}, error)

type ArtifactDetailResponse

type ArtifactDetailResponse struct {
	// Data Artifact Detail
	Data ArtifactDetail `json:"data"`

	// Status Indicates if the request was successful or not
	Status Status `json:"status"`
}

ArtifactDetailResponse defines model for ArtifactDetailResponse.

type ArtifactLabelRequest

type ArtifactLabelRequest struct {
	Labels []string `json:"labels"`
}

ArtifactLabelRequest defines model for ArtifactLabelRequest.

type ArtifactLabelResponse

type ArtifactLabelResponse struct {
	// Data Harness Artifact Summary
	Data ArtifactSummary `json:"data"`

	// Status Indicates if the request was successful or not
	Status Status `json:"status"`
}

ArtifactLabelResponse defines model for ArtifactLabelResponse.

type ArtifactMetadata

type ArtifactMetadata struct {
	DeploymentMetadata *DeploymentMetadata `json:"deploymentMetadata,omitempty"`
	DownloadsCount     *int64              `json:"downloadsCount,omitempty"`
	Labels             *[]string           `json:"labels,omitempty"`
	LastModified       *string             `json:"lastModified,omitempty"`
	LatestVersion      string              `json:"latestVersion"`
	Name               string              `json:"name"`

	// PackageType refers to package
	PackageType        *PackageType `json:"packageType,omitempty"`
	PullCommand        *string      `json:"pullCommand,omitempty"`
	RegistryIdentifier string       `json:"registryIdentifier"`
	RegistryPath       string       `json:"registryPath"`
	Version            string       `json:"version"`
}

ArtifactMetadata Artifact Metadata

type ArtifactParam

type ArtifactParam = string

ArtifactParam defines model for artifactParam.

type ArtifactPathParam

type ArtifactPathParam = string

ArtifactPathParam defines model for artifactPathParam.

type ArtifactStats

type ArtifactStats struct {
	DownloadCount    *int64 `json:"downloadCount,omitempty"`
	DownloadSize     *int64 `json:"downloadSize,omitempty"`
	TotalStorageSize *int64 `json:"totalStorageSize,omitempty"`
	UploadSize       *int64 `json:"uploadSize,omitempty"`
}

ArtifactStats Harness Artifact Stats

type ArtifactStatsResponse

type ArtifactStatsResponse struct {
	// Data Harness Artifact Stats
	Data ArtifactStats `json:"data"`

	// Status Indicates if the request was successful or not
	Status Status `json:"status"`
}

ArtifactStatsResponse defines model for ArtifactStatsResponse.

type ArtifactSummary

type ArtifactSummary struct {
	CreatedAt      *string   `json:"createdAt,omitempty"`
	DownloadsCount *int64    `json:"downloadsCount,omitempty"`
	ImageName      string    `json:"imageName"`
	Labels         *[]string `json:"labels,omitempty"`
	ModifiedAt     *string   `json:"modifiedAt,omitempty"`

	// PackageType refers to package
	PackageType PackageType `json:"packageType"`
}

ArtifactSummary Harness Artifact Summary

type ArtifactSummaryResponse

type ArtifactSummaryResponse struct {
	// Data Harness Artifact Summary
	Data ArtifactSummary `json:"data"`

	// Status Indicates if the request was successful or not
	Status Status `json:"status"`
}

ArtifactSummaryResponse defines model for ArtifactSummaryResponse.

type ArtifactVersionMetadata

type ArtifactVersionMetadata struct {
	DeploymentMetadata *DeploymentMetadata `json:"deploymentMetadata,omitempty"`
	DigestCount        *int64              `json:"digestCount,omitempty"`
	DownloadsCount     *int64              `json:"downloadsCount,omitempty"`
	FileCount          *int64              `json:"fileCount,omitempty"`
	LastModified       *string             `json:"lastModified,omitempty"`
	Name               string              `json:"name"`

	// PackageType refers to package
	PackageType        *PackageType `json:"packageType,omitempty"`
	PullCommand        *string      `json:"pullCommand,omitempty"`
	RegistryIdentifier string       `json:"registryIdentifier"`
	RegistryPath       string       `json:"registryPath"`
	Size               *string      `json:"size,omitempty"`
}

ArtifactVersionMetadata Artifact Version Metadata

type ArtifactVersionSummary

type ArtifactVersionSummary struct {
	ImageName string `json:"imageName"`

	// PackageType refers to package
	PackageType          PackageType `json:"packageType"`
	SscaArtifactId       *string     `json:"sscaArtifactId,omitempty"`
	SscaArtifactSourceId *string     `json:"sscaArtifactSourceId,omitempty"`
	StoExecutionId       *string     `json:"stoExecutionId,omitempty"`
	StoPipelineId        *string     `json:"stoPipelineId,omitempty"`
	Version              string      `json:"version"`
}

ArtifactVersionSummary Docker Artifact Version Summary

type ArtifactVersionSummaryResponse

type ArtifactVersionSummaryResponse struct {
	// Data Docker Artifact Version Summary
	Data ArtifactVersionSummary `json:"data"`

	// Status Indicates if the request was successful or not
	Status Status `json:"status"`
}

ArtifactVersionSummaryResponse defines model for ArtifactVersionSummaryResponse.

type AuthType

type AuthType string

AuthType Authentication type

const (
	AuthTypeAnonymous    AuthType = "Anonymous"
	AuthTypeUserPassword AuthType = "UserPassword"
)

Defines values for AuthType.

type BadRequest

type BadRequest = Error

BadRequest defines model for BadRequest.

type BuildDetails

type BuildDetails struct {
	OrgIdentifier       *string `json:"orgIdentifier,omitempty"`
	PipelineDisplayName *string `json:"pipelineDisplayName,omitempty"`
	PipelineExecutionId *string `json:"pipelineExecutionId,omitempty"`
	PipelineIdentifier  *string `json:"pipelineIdentifier,omitempty"`
	ProjectIdentifier   *string `json:"projectIdentifier,omitempty"`
	StageExecutionId    *string `json:"stageExecutionId,omitempty"`
	StepExecutionId     *string `json:"stepExecutionId,omitempty"`
}

BuildDetails defines model for BuildDetails.

type ChildVersionParam

type ChildVersionParam = string

ChildVersionParam defines model for childVersionParam.

type CleanupPolicy

type CleanupPolicy struct {
	ExpireDays    *int      `json:"expireDays,omitempty"`
	Name          *string   `json:"name,omitempty"`
	PackagePrefix *[]string `json:"packagePrefix,omitempty"`
	VersionPrefix *[]string `json:"versionPrefix,omitempty"`
}

CleanupPolicy Cleanup Policy for Harness Artifact Registries

type Client

type Client struct {
	// The endpoint of the server conforming to this interface, with scheme,
	// https://api.deepmap.com for example. This can contain a path relative
	// to the server, such as https://api.deepmap.com/dev-test, and all the
	// paths in the swagger spec will be appended to the server.
	Server string

	// Doer for performing requests, typically a *http.Client with any
	// customized settings, such as certificate chains.
	Client HttpRequestDoer

	// A list of callbacks for modifying requests which are generated before sending over
	// the network.
	RequestEditors []RequestEditorFn
}

Client which conforms to the OpenAPI3 specification for this service.

func NewClient

func NewClient(server string, opts ...ClientOption) (*Client, error)

Creates a new Client, with reasonable defaults

func (*Client) CreateRegistry

func (c *Client) CreateRegistry(ctx context.Context, params *CreateRegistryParams, body CreateRegistryJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateRegistryWithBody

func (c *Client) CreateRegistryWithBody(ctx context.Context, params *CreateRegistryParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateReplicationRule

func (c *Client) CreateReplicationRule(ctx context.Context, params *CreateReplicationRuleParams, body CreateReplicationRuleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateReplicationRuleWithBody

func (c *Client) CreateReplicationRuleWithBody(ctx context.Context, params *CreateReplicationRuleParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateWebhook

func (c *Client) CreateWebhook(ctx context.Context, registryRef RegistryRefPathParam, body CreateWebhookJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateWebhookWithBody

func (c *Client) CreateWebhookWithBody(ctx context.Context, registryRef RegistryRefPathParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteArtifact

func (c *Client) DeleteArtifact(ctx context.Context, registryRef RegistryRefPathParam, artifact ArtifactPathParam, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteArtifactVersion

func (c *Client) DeleteArtifactVersion(ctx context.Context, registryRef RegistryRefPathParam, artifact ArtifactPathParam, version VersionPathParam, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteRegistry

func (c *Client) DeleteRegistry(ctx context.Context, registryRef RegistryRefPathParam, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteReplicationRule

func (c *Client) DeleteReplicationRule(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteWebhook

func (c *Client) DeleteWebhook(ctx context.Context, registryRef RegistryRefPathParam, webhookIdentifier WebhookIdentifierPathParam, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetAllArtifactVersions

func (c *Client) GetAllArtifactVersions(ctx context.Context, registryRef RegistryRefPathParam, artifact ArtifactPathParam, params *GetAllArtifactVersionsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetAllArtifactsByRegistry

func (c *Client) GetAllArtifactsByRegistry(ctx context.Context, registryRef RegistryRefPathParam, params *GetAllArtifactsByRegistryParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetAllHarnessArtifacts

func (c *Client) GetAllHarnessArtifacts(ctx context.Context, spaceRef SpaceRefPathParam, params *GetAllHarnessArtifactsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetAllRegistries

func (c *Client) GetAllRegistries(ctx context.Context, spaceRef SpaceRefPathParam, params *GetAllRegistriesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetArtifactDeployments

func (c *Client) GetArtifactDeployments(ctx context.Context, registryRef RegistryRefPathParam, artifact ArtifactPathParam, version VersionPathParam, params *GetArtifactDeploymentsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetArtifactDetails

func (c *Client) GetArtifactDetails(ctx context.Context, registryRef RegistryRefPathParam, artifact ArtifactPathParam, version VersionPathParam, params *GetArtifactDetailsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetArtifactFiles

func (c *Client) GetArtifactFiles(ctx context.Context, registryRef RegistryRefPathParam, artifact ArtifactPathParam, version VersionPathParam, params *GetArtifactFilesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetArtifactStats

func (c *Client) GetArtifactStats(ctx context.Context, registryRef RegistryRefPathParam, artifact ArtifactPathParam, params *GetArtifactStatsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetArtifactStatsForRegistry

func (c *Client) GetArtifactStatsForRegistry(ctx context.Context, registryRef RegistryRefPathParam, params *GetArtifactStatsForRegistryParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetArtifactStatsForSpace

func (c *Client) GetArtifactStatsForSpace(ctx context.Context, spaceRef SpaceRefPathParam, params *GetArtifactStatsForSpaceParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetArtifactSummary

func (c *Client) GetArtifactSummary(ctx context.Context, registryRef RegistryRefPathParam, artifact ArtifactPathParam, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetArtifactVersionSummary

func (c *Client) GetArtifactVersionSummary(ctx context.Context, registryRef RegistryRefPathParam, artifact ArtifactPathParam, version VersionPathParam, params *GetArtifactVersionSummaryParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetClientSetupDetails

func (c *Client) GetClientSetupDetails(ctx context.Context, registryRef RegistryRefPathParam, params *GetClientSetupDetailsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetDockerArtifactDetails

func (c *Client) GetDockerArtifactDetails(ctx context.Context, registryRef RegistryRefPathParam, artifact ArtifactPathParam, version VersionPathParam, params *GetDockerArtifactDetailsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetDockerArtifactIntegrationDetails

func (c *Client) GetDockerArtifactIntegrationDetails(ctx context.Context, registryRef RegistryRefPathParam, artifact ArtifactPathParam, version VersionPathParam, params *GetDockerArtifactIntegrationDetailsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetDockerArtifactLayers

func (c *Client) GetDockerArtifactLayers(ctx context.Context, registryRef RegistryRefPathParam, artifact ArtifactPathParam, version VersionPathParam, params *GetDockerArtifactLayersParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetDockerArtifactManifest

func (c *Client) GetDockerArtifactManifest(ctx context.Context, registryRef RegistryRefPathParam, artifact ArtifactPathParam, version VersionPathParam, params *GetDockerArtifactManifestParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetDockerArtifactManifests

func (c *Client) GetDockerArtifactManifests(ctx context.Context, registryRef RegistryRefPathParam, artifact ArtifactPathParam, version VersionPathParam, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetHelmArtifactDetails

func (c *Client) GetHelmArtifactDetails(ctx context.Context, registryRef RegistryRefPathParam, artifact ArtifactPathParam, version VersionPathParam, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetHelmArtifactManifest

func (c *Client) GetHelmArtifactManifest(ctx context.Context, registryRef RegistryRefPathParam, artifact ArtifactPathParam, version VersionPathParam, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetMigrationLogsForImage

func (c *Client) GetMigrationLogsForImage(ctx context.Context, id string, imageId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetRegistry

func (c *Client) GetRegistry(ctx context.Context, registryRef RegistryRefPathParam, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetReplicationRule

func (c *Client) GetReplicationRule(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetStorageDetails

func (c *Client) GetStorageDetails(ctx context.Context, spaceRef SpaceRefPathParam, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetWebhook

func (c *Client) GetWebhook(ctx context.Context, registryRef RegistryRefPathParam, webhookIdentifier WebhookIdentifierPathParam, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetWebhookExecution

func (c *Client) GetWebhookExecution(ctx context.Context, registryRef RegistryRefPathParam, webhookIdentifier WebhookIdentifierPathParam, webhookExecutionId WebhookExecutionIdPathParam, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListArtifactLabels

func (c *Client) ListArtifactLabels(ctx context.Context, registryRef RegistryRefPathParam, params *ListArtifactLabelsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListMigrationImages

func (c *Client) ListMigrationImages(ctx context.Context, id string, params *ListMigrationImagesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListReplicationRules

func (c *Client) ListReplicationRules(ctx context.Context, params *ListReplicationRulesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListWebhookExecutions

func (c *Client) ListWebhookExecutions(ctx context.Context, registryRef RegistryRefPathParam, webhookIdentifier WebhookIdentifierPathParam, params *ListWebhookExecutionsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListWebhooks

func (c *Client) ListWebhooks(ctx context.Context, registryRef RegistryRefPathParam, params *ListWebhooksParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ModifyRegistry

func (c *Client) ModifyRegistry(ctx context.Context, registryRef RegistryRefPathParam, body ModifyRegistryJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ModifyRegistryWithBody

func (c *Client) ModifyRegistryWithBody(ctx context.Context, registryRef RegistryRefPathParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ReTriggerWebhookExecution

func (c *Client) ReTriggerWebhookExecution(ctx context.Context, registryRef RegistryRefPathParam, webhookIdentifier WebhookIdentifierPathParam, webhookExecutionId WebhookExecutionIdPathParam, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) RedirectHarnessArtifact

func (c *Client) RedirectHarnessArtifact(ctx context.Context, registryIdentifier RegistryIdentifierPathParam, artifact ArtifactPathParam, params *RedirectHarnessArtifactParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) StartMigration

func (c *Client) StartMigration(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) StopMigration

func (c *Client) StopMigration(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateArtifactLabels

func (c *Client) UpdateArtifactLabels(ctx context.Context, registryRef RegistryRefPathParam, artifact ArtifactPathParam, body UpdateArtifactLabelsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateArtifactLabelsWithBody

func (c *Client) UpdateArtifactLabelsWithBody(ctx context.Context, registryRef RegistryRefPathParam, artifact ArtifactPathParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateReplicationRule

func (c *Client) UpdateReplicationRule(ctx context.Context, id string, body UpdateReplicationRuleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateReplicationRuleWithBody

func (c *Client) UpdateReplicationRuleWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateWebhook

func (c *Client) UpdateWebhook(ctx context.Context, registryRef RegistryRefPathParam, webhookIdentifier WebhookIdentifierPathParam, body UpdateWebhookJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateWebhookWithBody

func (c *Client) UpdateWebhookWithBody(ctx context.Context, registryRef RegistryRefPathParam, webhookIdentifier WebhookIdentifierPathParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

type ClientInterface

type ClientInterface interface {
	// CreateRegistryWithBody request with any body
	CreateRegistryWithBody(ctx context.Context, params *CreateRegistryParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CreateRegistry(ctx context.Context, params *CreateRegistryParams, body CreateRegistryJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// RedirectHarnessArtifact request
	RedirectHarnessArtifact(ctx context.Context, registryIdentifier RegistryIdentifierPathParam, artifact ArtifactPathParam, params *RedirectHarnessArtifactParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteRegistry request
	DeleteRegistry(ctx context.Context, registryRef RegistryRefPathParam, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetRegistry request
	GetRegistry(ctx context.Context, registryRef RegistryRefPathParam, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ModifyRegistryWithBody request with any body
	ModifyRegistryWithBody(ctx context.Context, registryRef RegistryRefPathParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	ModifyRegistry(ctx context.Context, registryRef RegistryRefPathParam, body ModifyRegistryJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListArtifactLabels request
	ListArtifactLabels(ctx context.Context, registryRef RegistryRefPathParam, params *ListArtifactLabelsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetArtifactStatsForRegistry request
	GetArtifactStatsForRegistry(ctx context.Context, registryRef RegistryRefPathParam, params *GetArtifactStatsForRegistryParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteArtifact request
	DeleteArtifact(ctx context.Context, registryRef RegistryRefPathParam, artifact ArtifactPathParam, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateArtifactLabelsWithBody request with any body
	UpdateArtifactLabelsWithBody(ctx context.Context, registryRef RegistryRefPathParam, artifact ArtifactPathParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	UpdateArtifactLabels(ctx context.Context, registryRef RegistryRefPathParam, artifact ArtifactPathParam, body UpdateArtifactLabelsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetArtifactStats request
	GetArtifactStats(ctx context.Context, registryRef RegistryRefPathParam, artifact ArtifactPathParam, params *GetArtifactStatsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetArtifactSummary request
	GetArtifactSummary(ctx context.Context, registryRef RegistryRefPathParam, artifact ArtifactPathParam, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteArtifactVersion request
	DeleteArtifactVersion(ctx context.Context, registryRef RegistryRefPathParam, artifact ArtifactPathParam, version VersionPathParam, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetArtifactDeployments request
	GetArtifactDeployments(ctx context.Context, registryRef RegistryRefPathParam, artifact ArtifactPathParam, version VersionPathParam, params *GetArtifactDeploymentsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetArtifactDetails request
	GetArtifactDetails(ctx context.Context, registryRef RegistryRefPathParam, artifact ArtifactPathParam, version VersionPathParam, params *GetArtifactDetailsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetDockerArtifactDetails request
	GetDockerArtifactDetails(ctx context.Context, registryRef RegistryRefPathParam, artifact ArtifactPathParam, version VersionPathParam, params *GetDockerArtifactDetailsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetDockerArtifactIntegrationDetails request
	GetDockerArtifactIntegrationDetails(ctx context.Context, registryRef RegistryRefPathParam, artifact ArtifactPathParam, version VersionPathParam, params *GetDockerArtifactIntegrationDetailsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetDockerArtifactLayers request
	GetDockerArtifactLayers(ctx context.Context, registryRef RegistryRefPathParam, artifact ArtifactPathParam, version VersionPathParam, params *GetDockerArtifactLayersParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetDockerArtifactManifest request
	GetDockerArtifactManifest(ctx context.Context, registryRef RegistryRefPathParam, artifact ArtifactPathParam, version VersionPathParam, params *GetDockerArtifactManifestParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetDockerArtifactManifests request
	GetDockerArtifactManifests(ctx context.Context, registryRef RegistryRefPathParam, artifact ArtifactPathParam, version VersionPathParam, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetArtifactFiles request
	GetArtifactFiles(ctx context.Context, registryRef RegistryRefPathParam, artifact ArtifactPathParam, version VersionPathParam, params *GetArtifactFilesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetHelmArtifactDetails request
	GetHelmArtifactDetails(ctx context.Context, registryRef RegistryRefPathParam, artifact ArtifactPathParam, version VersionPathParam, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetHelmArtifactManifest request
	GetHelmArtifactManifest(ctx context.Context, registryRef RegistryRefPathParam, artifact ArtifactPathParam, version VersionPathParam, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetArtifactVersionSummary request
	GetArtifactVersionSummary(ctx context.Context, registryRef RegistryRefPathParam, artifact ArtifactPathParam, version VersionPathParam, params *GetArtifactVersionSummaryParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetAllArtifactVersions request
	GetAllArtifactVersions(ctx context.Context, registryRef RegistryRefPathParam, artifact ArtifactPathParam, params *GetAllArtifactVersionsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetAllArtifactsByRegistry request
	GetAllArtifactsByRegistry(ctx context.Context, registryRef RegistryRefPathParam, params *GetAllArtifactsByRegistryParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetClientSetupDetails request
	GetClientSetupDetails(ctx context.Context, registryRef RegistryRefPathParam, params *GetClientSetupDetailsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListWebhooks request
	ListWebhooks(ctx context.Context, registryRef RegistryRefPathParam, params *ListWebhooksParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateWebhookWithBody request with any body
	CreateWebhookWithBody(ctx context.Context, registryRef RegistryRefPathParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CreateWebhook(ctx context.Context, registryRef RegistryRefPathParam, body CreateWebhookJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteWebhook request
	DeleteWebhook(ctx context.Context, registryRef RegistryRefPathParam, webhookIdentifier WebhookIdentifierPathParam, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetWebhook request
	GetWebhook(ctx context.Context, registryRef RegistryRefPathParam, webhookIdentifier WebhookIdentifierPathParam, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateWebhookWithBody request with any body
	UpdateWebhookWithBody(ctx context.Context, registryRef RegistryRefPathParam, webhookIdentifier WebhookIdentifierPathParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	UpdateWebhook(ctx context.Context, registryRef RegistryRefPathParam, webhookIdentifier WebhookIdentifierPathParam, body UpdateWebhookJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListWebhookExecutions request
	ListWebhookExecutions(ctx context.Context, registryRef RegistryRefPathParam, webhookIdentifier WebhookIdentifierPathParam, params *ListWebhookExecutionsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetWebhookExecution request
	GetWebhookExecution(ctx context.Context, registryRef RegistryRefPathParam, webhookIdentifier WebhookIdentifierPathParam, webhookExecutionId WebhookExecutionIdPathParam, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ReTriggerWebhookExecution request
	ReTriggerWebhookExecution(ctx context.Context, registryRef RegistryRefPathParam, webhookIdentifier WebhookIdentifierPathParam, webhookExecutionId WebhookExecutionIdPathParam, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListReplicationRules request
	ListReplicationRules(ctx context.Context, params *ListReplicationRulesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CreateReplicationRuleWithBody request with any body
	CreateReplicationRuleWithBody(ctx context.Context, params *CreateReplicationRuleParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CreateReplicationRule(ctx context.Context, params *CreateReplicationRuleParams, body CreateReplicationRuleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DeleteReplicationRule request
	DeleteReplicationRule(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetReplicationRule request
	GetReplicationRule(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateReplicationRuleWithBody request with any body
	UpdateReplicationRuleWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	UpdateReplicationRule(ctx context.Context, id string, body UpdateReplicationRuleJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// ListMigrationImages request
	ListMigrationImages(ctx context.Context, id string, params *ListMigrationImagesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetMigrationLogsForImage request
	GetMigrationLogsForImage(ctx context.Context, id string, imageId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// StartMigration request
	StartMigration(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// StopMigration request
	StopMigration(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetArtifactStatsForSpace request
	GetArtifactStatsForSpace(ctx context.Context, spaceRef SpaceRefPathParam, params *GetArtifactStatsForSpaceParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetAllHarnessArtifacts request
	GetAllHarnessArtifacts(ctx context.Context, spaceRef SpaceRefPathParam, params *GetAllHarnessArtifactsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetStorageDetails request
	GetStorageDetails(ctx context.Context, spaceRef SpaceRefPathParam, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetAllRegistries request
	GetAllRegistries(ctx context.Context, spaceRef SpaceRefPathParam, params *GetAllRegistriesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
}

The interface specification for the client above.

type ClientOption

type ClientOption func(*Client) error

ClientOption allows setting custom parameters during construction

func WithBaseURL

func WithBaseURL(baseURL string) ClientOption

WithBaseURL overrides the baseURL.

func WithHTTPClient

func WithHTTPClient(doer HttpRequestDoer) ClientOption

WithHTTPClient allows overriding the default Doer, which is automatically created using http.Client. This is useful for tests.

func WithRequestEditorFn

func WithRequestEditorFn(fn RequestEditorFn) ClientOption

WithRequestEditorFn allows setting up a callback function, which will be called right before sending the request. This can be used to mutate the request.

type ClientSetupDetails

type ClientSetupDetails struct {
	MainHeader string               `json:"mainHeader"`
	SecHeader  string               `json:"secHeader"`
	Sections   []ClientSetupSection `json:"sections"`
}

ClientSetupDetails Client Setup Details

type ClientSetupDetailsResponse

type ClientSetupDetailsResponse struct {
	// Data Client Setup Details
	Data ClientSetupDetails `json:"data"`

	// Status Indicates if the request was successful or not
	Status Status `json:"status"`
}

ClientSetupDetailsResponse defines model for ClientSetupDetailsResponse.

type ClientSetupSection

type ClientSetupSection struct {
	Header    *string `json:"header,omitempty"`
	SecHeader *string `json:"secHeader,omitempty"`

	// Type refers to client setup section type
	Type SectionType `json:"type"`
	// contains filtered or unexported fields
}

ClientSetupSection Client Setup Section

func (ClientSetupSection) AsClientSetupStepConfig

func (t ClientSetupSection) AsClientSetupStepConfig() (ClientSetupStepConfig, error)

AsClientSetupStepConfig returns the union data inside the ClientSetupSection as a ClientSetupStepConfig

func (ClientSetupSection) AsTabSetupStepConfig

func (t ClientSetupSection) AsTabSetupStepConfig() (TabSetupStepConfig, error)

AsTabSetupStepConfig returns the union data inside the ClientSetupSection as a TabSetupStepConfig

func (ClientSetupSection) Discriminator

func (t ClientSetupSection) Discriminator() (string, error)

func (*ClientSetupSection) FromClientSetupStepConfig

func (t *ClientSetupSection) FromClientSetupStepConfig(v ClientSetupStepConfig) error

FromClientSetupStepConfig overwrites any union data inside the ClientSetupSection as the provided ClientSetupStepConfig

func (*ClientSetupSection) FromTabSetupStepConfig

func (t *ClientSetupSection) FromTabSetupStepConfig(v TabSetupStepConfig) error

FromTabSetupStepConfig overwrites any union data inside the ClientSetupSection as the provided TabSetupStepConfig

func (ClientSetupSection) MarshalJSON

func (t ClientSetupSection) MarshalJSON() ([]byte, error)

func (*ClientSetupSection) MergeClientSetupStepConfig

func (t *ClientSetupSection) MergeClientSetupStepConfig(v ClientSetupStepConfig) error

MergeClientSetupStepConfig performs a merge with any union data inside the ClientSetupSection, using the provided ClientSetupStepConfig

func (*ClientSetupSection) MergeTabSetupStepConfig

func (t *ClientSetupSection) MergeTabSetupStepConfig(v TabSetupStepConfig) error

MergeTabSetupStepConfig performs a merge with any union data inside the ClientSetupSection, using the provided TabSetupStepConfig

func (*ClientSetupSection) UnmarshalJSON

func (t *ClientSetupSection) UnmarshalJSON(b []byte) error

func (ClientSetupSection) ValueByDiscriminator

func (t ClientSetupSection) ValueByDiscriminator() (interface{}, error)

type ClientSetupStep

type ClientSetupStep struct {
	Commands *[]ClientSetupStepCommand `json:"commands,omitempty"`
	Header   *string                   `json:"header,omitempty"`

	// Type ClientSetupStepType type
	Type *ClientSetupStepType `json:"type,omitempty"`
}

ClientSetupStep Client Setup Step

type ClientSetupStepCommand

type ClientSetupStepCommand struct {
	Label *string `json:"label,omitempty"`
	Value *string `json:"value,omitempty"`
}

ClientSetupStepCommand Client Setup Step Command

type ClientSetupStepConfig

type ClientSetupStepConfig struct {
	Steps *[]ClientSetupStep `json:"steps,omitempty"`
}

ClientSetupStepConfig Client Setup Step

type ClientSetupStepType

type ClientSetupStepType string

ClientSetupStepType ClientSetupStepType type

const (
	GenerateToken ClientSetupStepType = "GenerateToken"
	Static        ClientSetupStepType = "Static"
)

Defines values for ClientSetupStepType.

type ClientWithResponses

type ClientWithResponses struct {
	ClientInterface
}

ClientWithResponses builds on ClientInterface to offer response payloads

func NewClientWithResponses

func NewClientWithResponses(server string, opts ...ClientOption) (*ClientWithResponses, error)

NewClientWithResponses creates a new ClientWithResponses, which wraps Client with return type handling

func (*ClientWithResponses) CreateRegistryWithBodyWithResponse

func (c *ClientWithResponses) CreateRegistryWithBodyWithResponse(ctx context.Context, params *CreateRegistryParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateRegistryResp, error)

CreateRegistryWithBodyWithResponse request with arbitrary body returning *CreateRegistryResp

func (*ClientWithResponses) CreateRegistryWithResponse

func (c *ClientWithResponses) CreateRegistryWithResponse(ctx context.Context, params *CreateRegistryParams, body CreateRegistryJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateRegistryResp, error)

func (*ClientWithResponses) CreateReplicationRuleWithBodyWithResponse

func (c *ClientWithResponses) CreateReplicationRuleWithBodyWithResponse(ctx context.Context, params *CreateReplicationRuleParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateReplicationRuleResp, error)

CreateReplicationRuleWithBodyWithResponse request with arbitrary body returning *CreateReplicationRuleResp

func (*ClientWithResponses) CreateReplicationRuleWithResponse

func (*ClientWithResponses) CreateWebhookWithBodyWithResponse

func (c *ClientWithResponses) CreateWebhookWithBodyWithResponse(ctx context.Context, registryRef RegistryRefPathParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateWebhookResp, error)

CreateWebhookWithBodyWithResponse request with arbitrary body returning *CreateWebhookResp

func (*ClientWithResponses) CreateWebhookWithResponse

func (c *ClientWithResponses) CreateWebhookWithResponse(ctx context.Context, registryRef RegistryRefPathParam, body CreateWebhookJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateWebhookResp, error)

func (*ClientWithResponses) DeleteArtifactVersionWithResponse

func (c *ClientWithResponses) DeleteArtifactVersionWithResponse(ctx context.Context, registryRef RegistryRefPathParam, artifact ArtifactPathParam, version VersionPathParam, reqEditors ...RequestEditorFn) (*DeleteArtifactVersionResp, error)

DeleteArtifactVersionWithResponse request returning *DeleteArtifactVersionResp

func (*ClientWithResponses) DeleteArtifactWithResponse

func (c *ClientWithResponses) DeleteArtifactWithResponse(ctx context.Context, registryRef RegistryRefPathParam, artifact ArtifactPathParam, reqEditors ...RequestEditorFn) (*DeleteArtifactResp, error)

DeleteArtifactWithResponse request returning *DeleteArtifactResp

func (*ClientWithResponses) DeleteRegistryWithResponse

func (c *ClientWithResponses) DeleteRegistryWithResponse(ctx context.Context, registryRef RegistryRefPathParam, reqEditors ...RequestEditorFn) (*DeleteRegistryResp, error)

DeleteRegistryWithResponse request returning *DeleteRegistryResp

func (*ClientWithResponses) DeleteReplicationRuleWithResponse

func (c *ClientWithResponses) DeleteReplicationRuleWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteReplicationRuleResp, error)

DeleteReplicationRuleWithResponse request returning *DeleteReplicationRuleResp

func (*ClientWithResponses) DeleteWebhookWithResponse

func (c *ClientWithResponses) DeleteWebhookWithResponse(ctx context.Context, registryRef RegistryRefPathParam, webhookIdentifier WebhookIdentifierPathParam, reqEditors ...RequestEditorFn) (*DeleteWebhookResp, error)

DeleteWebhookWithResponse request returning *DeleteWebhookResp

func (*ClientWithResponses) GetAllArtifactVersionsWithResponse

func (c *ClientWithResponses) GetAllArtifactVersionsWithResponse(ctx context.Context, registryRef RegistryRefPathParam, artifact ArtifactPathParam, params *GetAllArtifactVersionsParams, reqEditors ...RequestEditorFn) (*GetAllArtifactVersionsResp, error)

GetAllArtifactVersionsWithResponse request returning *GetAllArtifactVersionsResp

func (*ClientWithResponses) GetAllArtifactsByRegistryWithResponse

func (c *ClientWithResponses) GetAllArtifactsByRegistryWithResponse(ctx context.Context, registryRef RegistryRefPathParam, params *GetAllArtifactsByRegistryParams, reqEditors ...RequestEditorFn) (*GetAllArtifactsByRegistryResp, error)

GetAllArtifactsByRegistryWithResponse request returning *GetAllArtifactsByRegistryResp

func (*ClientWithResponses) GetAllHarnessArtifactsWithResponse

func (c *ClientWithResponses) GetAllHarnessArtifactsWithResponse(ctx context.Context, spaceRef SpaceRefPathParam, params *GetAllHarnessArtifactsParams, reqEditors ...RequestEditorFn) (*GetAllHarnessArtifactsResp, error)

GetAllHarnessArtifactsWithResponse request returning *GetAllHarnessArtifactsResp

func (*ClientWithResponses) GetAllRegistriesWithResponse

func (c *ClientWithResponses) GetAllRegistriesWithResponse(ctx context.Context, spaceRef SpaceRefPathParam, params *GetAllRegistriesParams, reqEditors ...RequestEditorFn) (*GetAllRegistriesResp, error)

GetAllRegistriesWithResponse request returning *GetAllRegistriesResp

func (*ClientWithResponses) GetArtifactDeploymentsWithResponse

func (c *ClientWithResponses) GetArtifactDeploymentsWithResponse(ctx context.Context, registryRef RegistryRefPathParam, artifact ArtifactPathParam, version VersionPathParam, params *GetArtifactDeploymentsParams, reqEditors ...RequestEditorFn) (*GetArtifactDeploymentsResp, error)

GetArtifactDeploymentsWithResponse request returning *GetArtifactDeploymentsResp

func (*ClientWithResponses) GetArtifactDetailsWithResponse

func (c *ClientWithResponses) GetArtifactDetailsWithResponse(ctx context.Context, registryRef RegistryRefPathParam, artifact ArtifactPathParam, version VersionPathParam, params *GetArtifactDetailsParams, reqEditors ...RequestEditorFn) (*GetArtifactDetailsResp, error)

GetArtifactDetailsWithResponse request returning *GetArtifactDetailsResp

func (*ClientWithResponses) GetArtifactFilesWithResponse

func (c *ClientWithResponses) GetArtifactFilesWithResponse(ctx context.Context, registryRef RegistryRefPathParam, artifact ArtifactPathParam, version VersionPathParam, params *GetArtifactFilesParams, reqEditors ...RequestEditorFn) (*GetArtifactFilesResp, error)

GetArtifactFilesWithResponse request returning *GetArtifactFilesResp

func (*ClientWithResponses) GetArtifactStatsForRegistryWithResponse

func (c *ClientWithResponses) GetArtifactStatsForRegistryWithResponse(ctx context.Context, registryRef RegistryRefPathParam, params *GetArtifactStatsForRegistryParams, reqEditors ...RequestEditorFn) (*GetArtifactStatsForRegistryResp, error)

GetArtifactStatsForRegistryWithResponse request returning *GetArtifactStatsForRegistryResp

func (*ClientWithResponses) GetArtifactStatsForSpaceWithResponse

func (c *ClientWithResponses) GetArtifactStatsForSpaceWithResponse(ctx context.Context, spaceRef SpaceRefPathParam, params *GetArtifactStatsForSpaceParams, reqEditors ...RequestEditorFn) (*GetArtifactStatsForSpaceResp, error)

GetArtifactStatsForSpaceWithResponse request returning *GetArtifactStatsForSpaceResp

func (*ClientWithResponses) GetArtifactStatsWithResponse

func (c *ClientWithResponses) GetArtifactStatsWithResponse(ctx context.Context, registryRef RegistryRefPathParam, artifact ArtifactPathParam, params *GetArtifactStatsParams, reqEditors ...RequestEditorFn) (*GetArtifactStatsResp, error)

GetArtifactStatsWithResponse request returning *GetArtifactStatsResp

func (*ClientWithResponses) GetArtifactSummaryWithResponse

func (c *ClientWithResponses) GetArtifactSummaryWithResponse(ctx context.Context, registryRef RegistryRefPathParam, artifact ArtifactPathParam, reqEditors ...RequestEditorFn) (*GetArtifactSummaryResp, error)

GetArtifactSummaryWithResponse request returning *GetArtifactSummaryResp

func (*ClientWithResponses) GetArtifactVersionSummaryWithResponse

func (c *ClientWithResponses) GetArtifactVersionSummaryWithResponse(ctx context.Context, registryRef RegistryRefPathParam, artifact ArtifactPathParam, version VersionPathParam, params *GetArtifactVersionSummaryParams, reqEditors ...RequestEditorFn) (*GetArtifactVersionSummaryResp, error)

GetArtifactVersionSummaryWithResponse request returning *GetArtifactVersionSummaryResp

func (*ClientWithResponses) GetClientSetupDetailsWithResponse

func (c *ClientWithResponses) GetClientSetupDetailsWithResponse(ctx context.Context, registryRef RegistryRefPathParam, params *GetClientSetupDetailsParams, reqEditors ...RequestEditorFn) (*GetClientSetupDetailsResp, error)

GetClientSetupDetailsWithResponse request returning *GetClientSetupDetailsResp

func (*ClientWithResponses) GetDockerArtifactDetailsWithResponse

func (c *ClientWithResponses) GetDockerArtifactDetailsWithResponse(ctx context.Context, registryRef RegistryRefPathParam, artifact ArtifactPathParam, version VersionPathParam, params *GetDockerArtifactDetailsParams, reqEditors ...RequestEditorFn) (*GetDockerArtifactDetailsResp, error)

GetDockerArtifactDetailsWithResponse request returning *GetDockerArtifactDetailsResp

func (*ClientWithResponses) GetDockerArtifactIntegrationDetailsWithResponse

func (c *ClientWithResponses) GetDockerArtifactIntegrationDetailsWithResponse(ctx context.Context, registryRef RegistryRefPathParam, artifact ArtifactPathParam, version VersionPathParam, params *GetDockerArtifactIntegrationDetailsParams, reqEditors ...RequestEditorFn) (*GetDockerArtifactIntegrationDetailsResp, error)

GetDockerArtifactIntegrationDetailsWithResponse request returning *GetDockerArtifactIntegrationDetailsResp

func (*ClientWithResponses) GetDockerArtifactLayersWithResponse

func (c *ClientWithResponses) GetDockerArtifactLayersWithResponse(ctx context.Context, registryRef RegistryRefPathParam, artifact ArtifactPathParam, version VersionPathParam, params *GetDockerArtifactLayersParams, reqEditors ...RequestEditorFn) (*GetDockerArtifactLayersResp, error)

GetDockerArtifactLayersWithResponse request returning *GetDockerArtifactLayersResp

func (*ClientWithResponses) GetDockerArtifactManifestWithResponse

func (c *ClientWithResponses) GetDockerArtifactManifestWithResponse(ctx context.Context, registryRef RegistryRefPathParam, artifact ArtifactPathParam, version VersionPathParam, params *GetDockerArtifactManifestParams, reqEditors ...RequestEditorFn) (*GetDockerArtifactManifestResp, error)

GetDockerArtifactManifestWithResponse request returning *GetDockerArtifactManifestResp

func (*ClientWithResponses) GetDockerArtifactManifestsWithResponse

func (c *ClientWithResponses) GetDockerArtifactManifestsWithResponse(ctx context.Context, registryRef RegistryRefPathParam, artifact ArtifactPathParam, version VersionPathParam, reqEditors ...RequestEditorFn) (*GetDockerArtifactManifestsResp, error)

GetDockerArtifactManifestsWithResponse request returning *GetDockerArtifactManifestsResp

func (*ClientWithResponses) GetHelmArtifactDetailsWithResponse

func (c *ClientWithResponses) GetHelmArtifactDetailsWithResponse(ctx context.Context, registryRef RegistryRefPathParam, artifact ArtifactPathParam, version VersionPathParam, reqEditors ...RequestEditorFn) (*GetHelmArtifactDetailsResp, error)

GetHelmArtifactDetailsWithResponse request returning *GetHelmArtifactDetailsResp

func (*ClientWithResponses) GetHelmArtifactManifestWithResponse

func (c *ClientWithResponses) GetHelmArtifactManifestWithResponse(ctx context.Context, registryRef RegistryRefPathParam, artifact ArtifactPathParam, version VersionPathParam, reqEditors ...RequestEditorFn) (*GetHelmArtifactManifestResp, error)

GetHelmArtifactManifestWithResponse request returning *GetHelmArtifactManifestResp

func (*ClientWithResponses) GetMigrationLogsForImageWithResponse

func (c *ClientWithResponses) GetMigrationLogsForImageWithResponse(ctx context.Context, id string, imageId string, reqEditors ...RequestEditorFn) (*GetMigrationLogsForImageResp, error)

GetMigrationLogsForImageWithResponse request returning *GetMigrationLogsForImageResp

func (*ClientWithResponses) GetRegistryWithResponse

func (c *ClientWithResponses) GetRegistryWithResponse(ctx context.Context, registryRef RegistryRefPathParam, reqEditors ...RequestEditorFn) (*GetRegistryResp, error)

GetRegistryWithResponse request returning *GetRegistryResp

func (*ClientWithResponses) GetReplicationRuleWithResponse

func (c *ClientWithResponses) GetReplicationRuleWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetReplicationRuleResp, error)

GetReplicationRuleWithResponse request returning *GetReplicationRuleResp

func (*ClientWithResponses) GetStorageDetailsWithResponse

func (c *ClientWithResponses) GetStorageDetailsWithResponse(ctx context.Context, spaceRef SpaceRefPathParam, reqEditors ...RequestEditorFn) (*GetStorageDetailsResp, error)

GetStorageDetailsWithResponse request returning *GetStorageDetailsResp

func (*ClientWithResponses) GetWebhookExecutionWithResponse

func (c *ClientWithResponses) GetWebhookExecutionWithResponse(ctx context.Context, registryRef RegistryRefPathParam, webhookIdentifier WebhookIdentifierPathParam, webhookExecutionId WebhookExecutionIdPathParam, reqEditors ...RequestEditorFn) (*GetWebhookExecutionResp, error)

GetWebhookExecutionWithResponse request returning *GetWebhookExecutionResp

func (*ClientWithResponses) GetWebhookWithResponse

func (c *ClientWithResponses) GetWebhookWithResponse(ctx context.Context, registryRef RegistryRefPathParam, webhookIdentifier WebhookIdentifierPathParam, reqEditors ...RequestEditorFn) (*GetWebhookResp, error)

GetWebhookWithResponse request returning *GetWebhookResp

func (*ClientWithResponses) ListArtifactLabelsWithResponse

func (c *ClientWithResponses) ListArtifactLabelsWithResponse(ctx context.Context, registryRef RegistryRefPathParam, params *ListArtifactLabelsParams, reqEditors ...RequestEditorFn) (*ListArtifactLabelsResp, error)

ListArtifactLabelsWithResponse request returning *ListArtifactLabelsResp

func (*ClientWithResponses) ListMigrationImagesWithResponse

func (c *ClientWithResponses) ListMigrationImagesWithResponse(ctx context.Context, id string, params *ListMigrationImagesParams, reqEditors ...RequestEditorFn) (*ListMigrationImagesResp, error)

ListMigrationImagesWithResponse request returning *ListMigrationImagesResp

func (*ClientWithResponses) ListReplicationRulesWithResponse

func (c *ClientWithResponses) ListReplicationRulesWithResponse(ctx context.Context, params *ListReplicationRulesParams, reqEditors ...RequestEditorFn) (*ListReplicationRulesResp, error)

ListReplicationRulesWithResponse request returning *ListReplicationRulesResp

func (*ClientWithResponses) ListWebhookExecutionsWithResponse

func (c *ClientWithResponses) ListWebhookExecutionsWithResponse(ctx context.Context, registryRef RegistryRefPathParam, webhookIdentifier WebhookIdentifierPathParam, params *ListWebhookExecutionsParams, reqEditors ...RequestEditorFn) (*ListWebhookExecutionsResp, error)

ListWebhookExecutionsWithResponse request returning *ListWebhookExecutionsResp

func (*ClientWithResponses) ListWebhooksWithResponse

func (c *ClientWithResponses) ListWebhooksWithResponse(ctx context.Context, registryRef RegistryRefPathParam, params *ListWebhooksParams, reqEditors ...RequestEditorFn) (*ListWebhooksResp, error)

ListWebhooksWithResponse request returning *ListWebhooksResp

func (*ClientWithResponses) ModifyRegistryWithBodyWithResponse

func (c *ClientWithResponses) ModifyRegistryWithBodyWithResponse(ctx context.Context, registryRef RegistryRefPathParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ModifyRegistryResp, error)

ModifyRegistryWithBodyWithResponse request with arbitrary body returning *ModifyRegistryResp

func (*ClientWithResponses) ModifyRegistryWithResponse

func (c *ClientWithResponses) ModifyRegistryWithResponse(ctx context.Context, registryRef RegistryRefPathParam, body ModifyRegistryJSONRequestBody, reqEditors ...RequestEditorFn) (*ModifyRegistryResp, error)

func (*ClientWithResponses) ReTriggerWebhookExecutionWithResponse

func (c *ClientWithResponses) ReTriggerWebhookExecutionWithResponse(ctx context.Context, registryRef RegistryRefPathParam, webhookIdentifier WebhookIdentifierPathParam, webhookExecutionId WebhookExecutionIdPathParam, reqEditors ...RequestEditorFn) (*ReTriggerWebhookExecutionResp, error)

ReTriggerWebhookExecutionWithResponse request returning *ReTriggerWebhookExecutionResp

func (*ClientWithResponses) RedirectHarnessArtifactWithResponse

func (c *ClientWithResponses) RedirectHarnessArtifactWithResponse(ctx context.Context, registryIdentifier RegistryIdentifierPathParam, artifact ArtifactPathParam, params *RedirectHarnessArtifactParams, reqEditors ...RequestEditorFn) (*RedirectHarnessArtifactResp, error)

RedirectHarnessArtifactWithResponse request returning *RedirectHarnessArtifactResp

func (*ClientWithResponses) StartMigrationWithResponse

func (c *ClientWithResponses) StartMigrationWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*StartMigrationResp, error)

StartMigrationWithResponse request returning *StartMigrationResp

func (*ClientWithResponses) StopMigrationWithResponse

func (c *ClientWithResponses) StopMigrationWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*StopMigrationResp, error)

StopMigrationWithResponse request returning *StopMigrationResp

func (*ClientWithResponses) UpdateArtifactLabelsWithBodyWithResponse

func (c *ClientWithResponses) UpdateArtifactLabelsWithBodyWithResponse(ctx context.Context, registryRef RegistryRefPathParam, artifact ArtifactPathParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateArtifactLabelsResp, error)

UpdateArtifactLabelsWithBodyWithResponse request with arbitrary body returning *UpdateArtifactLabelsResp

func (*ClientWithResponses) UpdateArtifactLabelsWithResponse

func (c *ClientWithResponses) UpdateArtifactLabelsWithResponse(ctx context.Context, registryRef RegistryRefPathParam, artifact ArtifactPathParam, body UpdateArtifactLabelsJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateArtifactLabelsResp, error)

func (*ClientWithResponses) UpdateReplicationRuleWithBodyWithResponse

func (c *ClientWithResponses) UpdateReplicationRuleWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateReplicationRuleResp, error)

UpdateReplicationRuleWithBodyWithResponse request with arbitrary body returning *UpdateReplicationRuleResp

func (*ClientWithResponses) UpdateReplicationRuleWithResponse

func (c *ClientWithResponses) UpdateReplicationRuleWithResponse(ctx context.Context, id string, body UpdateReplicationRuleJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateReplicationRuleResp, error)

func (*ClientWithResponses) UpdateWebhookWithBodyWithResponse

func (c *ClientWithResponses) UpdateWebhookWithBodyWithResponse(ctx context.Context, registryRef RegistryRefPathParam, webhookIdentifier WebhookIdentifierPathParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateWebhookResp, error)

UpdateWebhookWithBodyWithResponse request with arbitrary body returning *UpdateWebhookResp

func (*ClientWithResponses) UpdateWebhookWithResponse

func (c *ClientWithResponses) UpdateWebhookWithResponse(ctx context.Context, registryRef RegistryRefPathParam, webhookIdentifier WebhookIdentifierPathParam, body UpdateWebhookJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateWebhookResp, error)

type ClientWithResponsesInterface

type ClientWithResponsesInterface interface {
	// CreateRegistryWithBodyWithResponse request with any body
	CreateRegistryWithBodyWithResponse(ctx context.Context, params *CreateRegistryParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateRegistryResp, error)

	CreateRegistryWithResponse(ctx context.Context, params *CreateRegistryParams, body CreateRegistryJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateRegistryResp, error)

	// RedirectHarnessArtifactWithResponse request
	RedirectHarnessArtifactWithResponse(ctx context.Context, registryIdentifier RegistryIdentifierPathParam, artifact ArtifactPathParam, params *RedirectHarnessArtifactParams, reqEditors ...RequestEditorFn) (*RedirectHarnessArtifactResp, error)

	// DeleteRegistryWithResponse request
	DeleteRegistryWithResponse(ctx context.Context, registryRef RegistryRefPathParam, reqEditors ...RequestEditorFn) (*DeleteRegistryResp, error)

	// GetRegistryWithResponse request
	GetRegistryWithResponse(ctx context.Context, registryRef RegistryRefPathParam, reqEditors ...RequestEditorFn) (*GetRegistryResp, error)

	// ModifyRegistryWithBodyWithResponse request with any body
	ModifyRegistryWithBodyWithResponse(ctx context.Context, registryRef RegistryRefPathParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ModifyRegistryResp, error)

	ModifyRegistryWithResponse(ctx context.Context, registryRef RegistryRefPathParam, body ModifyRegistryJSONRequestBody, reqEditors ...RequestEditorFn) (*ModifyRegistryResp, error)

	// ListArtifactLabelsWithResponse request
	ListArtifactLabelsWithResponse(ctx context.Context, registryRef RegistryRefPathParam, params *ListArtifactLabelsParams, reqEditors ...RequestEditorFn) (*ListArtifactLabelsResp, error)

	// GetArtifactStatsForRegistryWithResponse request
	GetArtifactStatsForRegistryWithResponse(ctx context.Context, registryRef RegistryRefPathParam, params *GetArtifactStatsForRegistryParams, reqEditors ...RequestEditorFn) (*GetArtifactStatsForRegistryResp, error)

	// DeleteArtifactWithResponse request
	DeleteArtifactWithResponse(ctx context.Context, registryRef RegistryRefPathParam, artifact ArtifactPathParam, reqEditors ...RequestEditorFn) (*DeleteArtifactResp, error)

	// UpdateArtifactLabelsWithBodyWithResponse request with any body
	UpdateArtifactLabelsWithBodyWithResponse(ctx context.Context, registryRef RegistryRefPathParam, artifact ArtifactPathParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateArtifactLabelsResp, error)

	UpdateArtifactLabelsWithResponse(ctx context.Context, registryRef RegistryRefPathParam, artifact ArtifactPathParam, body UpdateArtifactLabelsJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateArtifactLabelsResp, error)

	// GetArtifactStatsWithResponse request
	GetArtifactStatsWithResponse(ctx context.Context, registryRef RegistryRefPathParam, artifact ArtifactPathParam, params *GetArtifactStatsParams, reqEditors ...RequestEditorFn) (*GetArtifactStatsResp, error)

	// GetArtifactSummaryWithResponse request
	GetArtifactSummaryWithResponse(ctx context.Context, registryRef RegistryRefPathParam, artifact ArtifactPathParam, reqEditors ...RequestEditorFn) (*GetArtifactSummaryResp, error)

	// DeleteArtifactVersionWithResponse request
	DeleteArtifactVersionWithResponse(ctx context.Context, registryRef RegistryRefPathParam, artifact ArtifactPathParam, version VersionPathParam, reqEditors ...RequestEditorFn) (*DeleteArtifactVersionResp, error)

	// GetArtifactDeploymentsWithResponse request
	GetArtifactDeploymentsWithResponse(ctx context.Context, registryRef RegistryRefPathParam, artifact ArtifactPathParam, version VersionPathParam, params *GetArtifactDeploymentsParams, reqEditors ...RequestEditorFn) (*GetArtifactDeploymentsResp, error)

	// GetArtifactDetailsWithResponse request
	GetArtifactDetailsWithResponse(ctx context.Context, registryRef RegistryRefPathParam, artifact ArtifactPathParam, version VersionPathParam, params *GetArtifactDetailsParams, reqEditors ...RequestEditorFn) (*GetArtifactDetailsResp, error)

	// GetDockerArtifactDetailsWithResponse request
	GetDockerArtifactDetailsWithResponse(ctx context.Context, registryRef RegistryRefPathParam, artifact ArtifactPathParam, version VersionPathParam, params *GetDockerArtifactDetailsParams, reqEditors ...RequestEditorFn) (*GetDockerArtifactDetailsResp, error)

	// GetDockerArtifactIntegrationDetailsWithResponse request
	GetDockerArtifactIntegrationDetailsWithResponse(ctx context.Context, registryRef RegistryRefPathParam, artifact ArtifactPathParam, version VersionPathParam, params *GetDockerArtifactIntegrationDetailsParams, reqEditors ...RequestEditorFn) (*GetDockerArtifactIntegrationDetailsResp, error)

	// GetDockerArtifactLayersWithResponse request
	GetDockerArtifactLayersWithResponse(ctx context.Context, registryRef RegistryRefPathParam, artifact ArtifactPathParam, version VersionPathParam, params *GetDockerArtifactLayersParams, reqEditors ...RequestEditorFn) (*GetDockerArtifactLayersResp, error)

	// GetDockerArtifactManifestWithResponse request
	GetDockerArtifactManifestWithResponse(ctx context.Context, registryRef RegistryRefPathParam, artifact ArtifactPathParam, version VersionPathParam, params *GetDockerArtifactManifestParams, reqEditors ...RequestEditorFn) (*GetDockerArtifactManifestResp, error)

	// GetDockerArtifactManifestsWithResponse request
	GetDockerArtifactManifestsWithResponse(ctx context.Context, registryRef RegistryRefPathParam, artifact ArtifactPathParam, version VersionPathParam, reqEditors ...RequestEditorFn) (*GetDockerArtifactManifestsResp, error)

	// GetArtifactFilesWithResponse request
	GetArtifactFilesWithResponse(ctx context.Context, registryRef RegistryRefPathParam, artifact ArtifactPathParam, version VersionPathParam, params *GetArtifactFilesParams, reqEditors ...RequestEditorFn) (*GetArtifactFilesResp, error)

	// GetHelmArtifactDetailsWithResponse request
	GetHelmArtifactDetailsWithResponse(ctx context.Context, registryRef RegistryRefPathParam, artifact ArtifactPathParam, version VersionPathParam, reqEditors ...RequestEditorFn) (*GetHelmArtifactDetailsResp, error)

	// GetHelmArtifactManifestWithResponse request
	GetHelmArtifactManifestWithResponse(ctx context.Context, registryRef RegistryRefPathParam, artifact ArtifactPathParam, version VersionPathParam, reqEditors ...RequestEditorFn) (*GetHelmArtifactManifestResp, error)

	// GetArtifactVersionSummaryWithResponse request
	GetArtifactVersionSummaryWithResponse(ctx context.Context, registryRef RegistryRefPathParam, artifact ArtifactPathParam, version VersionPathParam, params *GetArtifactVersionSummaryParams, reqEditors ...RequestEditorFn) (*GetArtifactVersionSummaryResp, error)

	// GetAllArtifactVersionsWithResponse request
	GetAllArtifactVersionsWithResponse(ctx context.Context, registryRef RegistryRefPathParam, artifact ArtifactPathParam, params *GetAllArtifactVersionsParams, reqEditors ...RequestEditorFn) (*GetAllArtifactVersionsResp, error)

	// GetAllArtifactsByRegistryWithResponse request
	GetAllArtifactsByRegistryWithResponse(ctx context.Context, registryRef RegistryRefPathParam, params *GetAllArtifactsByRegistryParams, reqEditors ...RequestEditorFn) (*GetAllArtifactsByRegistryResp, error)

	// GetClientSetupDetailsWithResponse request
	GetClientSetupDetailsWithResponse(ctx context.Context, registryRef RegistryRefPathParam, params *GetClientSetupDetailsParams, reqEditors ...RequestEditorFn) (*GetClientSetupDetailsResp, error)

	// ListWebhooksWithResponse request
	ListWebhooksWithResponse(ctx context.Context, registryRef RegistryRefPathParam, params *ListWebhooksParams, reqEditors ...RequestEditorFn) (*ListWebhooksResp, error)

	// CreateWebhookWithBodyWithResponse request with any body
	CreateWebhookWithBodyWithResponse(ctx context.Context, registryRef RegistryRefPathParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateWebhookResp, error)

	CreateWebhookWithResponse(ctx context.Context, registryRef RegistryRefPathParam, body CreateWebhookJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateWebhookResp, error)

	// DeleteWebhookWithResponse request
	DeleteWebhookWithResponse(ctx context.Context, registryRef RegistryRefPathParam, webhookIdentifier WebhookIdentifierPathParam, reqEditors ...RequestEditorFn) (*DeleteWebhookResp, error)

	// GetWebhookWithResponse request
	GetWebhookWithResponse(ctx context.Context, registryRef RegistryRefPathParam, webhookIdentifier WebhookIdentifierPathParam, reqEditors ...RequestEditorFn) (*GetWebhookResp, error)

	// UpdateWebhookWithBodyWithResponse request with any body
	UpdateWebhookWithBodyWithResponse(ctx context.Context, registryRef RegistryRefPathParam, webhookIdentifier WebhookIdentifierPathParam, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateWebhookResp, error)

	UpdateWebhookWithResponse(ctx context.Context, registryRef RegistryRefPathParam, webhookIdentifier WebhookIdentifierPathParam, body UpdateWebhookJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateWebhookResp, error)

	// ListWebhookExecutionsWithResponse request
	ListWebhookExecutionsWithResponse(ctx context.Context, registryRef RegistryRefPathParam, webhookIdentifier WebhookIdentifierPathParam, params *ListWebhookExecutionsParams, reqEditors ...RequestEditorFn) (*ListWebhookExecutionsResp, error)

	// GetWebhookExecutionWithResponse request
	GetWebhookExecutionWithResponse(ctx context.Context, registryRef RegistryRefPathParam, webhookIdentifier WebhookIdentifierPathParam, webhookExecutionId WebhookExecutionIdPathParam, reqEditors ...RequestEditorFn) (*GetWebhookExecutionResp, error)

	// ReTriggerWebhookExecutionWithResponse request
	ReTriggerWebhookExecutionWithResponse(ctx context.Context, registryRef RegistryRefPathParam, webhookIdentifier WebhookIdentifierPathParam, webhookExecutionId WebhookExecutionIdPathParam, reqEditors ...RequestEditorFn) (*ReTriggerWebhookExecutionResp, error)

	// ListReplicationRulesWithResponse request
	ListReplicationRulesWithResponse(ctx context.Context, params *ListReplicationRulesParams, reqEditors ...RequestEditorFn) (*ListReplicationRulesResp, error)

	// CreateReplicationRuleWithBodyWithResponse request with any body
	CreateReplicationRuleWithBodyWithResponse(ctx context.Context, params *CreateReplicationRuleParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateReplicationRuleResp, error)

	CreateReplicationRuleWithResponse(ctx context.Context, params *CreateReplicationRuleParams, body CreateReplicationRuleJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateReplicationRuleResp, error)

	// DeleteReplicationRuleWithResponse request
	DeleteReplicationRuleWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteReplicationRuleResp, error)

	// GetReplicationRuleWithResponse request
	GetReplicationRuleWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetReplicationRuleResp, error)

	// UpdateReplicationRuleWithBodyWithResponse request with any body
	UpdateReplicationRuleWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateReplicationRuleResp, error)

	UpdateReplicationRuleWithResponse(ctx context.Context, id string, body UpdateReplicationRuleJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateReplicationRuleResp, error)

	// ListMigrationImagesWithResponse request
	ListMigrationImagesWithResponse(ctx context.Context, id string, params *ListMigrationImagesParams, reqEditors ...RequestEditorFn) (*ListMigrationImagesResp, error)

	// GetMigrationLogsForImageWithResponse request
	GetMigrationLogsForImageWithResponse(ctx context.Context, id string, imageId string, reqEditors ...RequestEditorFn) (*GetMigrationLogsForImageResp, error)

	// StartMigrationWithResponse request
	StartMigrationWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*StartMigrationResp, error)

	// StopMigrationWithResponse request
	StopMigrationWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*StopMigrationResp, error)

	// GetArtifactStatsForSpaceWithResponse request
	GetArtifactStatsForSpaceWithResponse(ctx context.Context, spaceRef SpaceRefPathParam, params *GetArtifactStatsForSpaceParams, reqEditors ...RequestEditorFn) (*GetArtifactStatsForSpaceResp, error)

	// GetAllHarnessArtifactsWithResponse request
	GetAllHarnessArtifactsWithResponse(ctx context.Context, spaceRef SpaceRefPathParam, params *GetAllHarnessArtifactsParams, reqEditors ...RequestEditorFn) (*GetAllHarnessArtifactsResp, error)

	// GetStorageDetailsWithResponse request
	GetStorageDetailsWithResponse(ctx context.Context, spaceRef SpaceRefPathParam, reqEditors ...RequestEditorFn) (*GetStorageDetailsResp, error)

	// GetAllRegistriesWithResponse request
	GetAllRegistriesWithResponse(ctx context.Context, spaceRef SpaceRefPathParam, params *GetAllRegistriesParams, reqEditors ...RequestEditorFn) (*GetAllRegistriesResp, error)
}

ClientWithResponsesInterface is the interface specification for the client with responses above.

type CreateRegistryJSONRequestBody

type CreateRegistryJSONRequestBody = RegistryRequest

CreateRegistryJSONRequestBody defines body for CreateRegistry for application/json ContentType.

type CreateRegistryParams

type CreateRegistryParams struct {
	// SpaceRef Unique space path
	SpaceRef *SpaceRefQueryParam `form:"space_ref,omitempty" json:"space_ref,omitempty"`
}

CreateRegistryParams defines parameters for CreateRegistry.

type CreateRegistryResp

type CreateRegistryResp struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *RegistryResponse
	JSON400      *BadRequest
	JSON401      *Unauthenticated
	JSON403      *Unauthorized
	JSON500      *InternalServerError
}

func ParseCreateRegistryResp

func ParseCreateRegistryResp(rsp *http.Response) (*CreateRegistryResp, error)

ParseCreateRegistryResp parses an HTTP response from a CreateRegistryWithResponse call

func (CreateRegistryResp) Status

func (r CreateRegistryResp) Status() string

Status returns HTTPResponse.Status

func (CreateRegistryResp) StatusCode

func (r CreateRegistryResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateReplicationRuleJSONRequestBody

type CreateReplicationRuleJSONRequestBody = ReplicationRuleRequest

CreateReplicationRuleJSONRequestBody defines body for CreateReplicationRule for application/json ContentType.

type CreateReplicationRuleParams

type CreateReplicationRuleParams struct {
	// SpaceRef Unique space path
	SpaceRef *SpaceRefQueryParam `form:"space_ref,omitempty" json:"space_ref,omitempty"`
}

CreateReplicationRuleParams defines parameters for CreateReplicationRule.

type CreateReplicationRuleResp

type CreateReplicationRuleResp struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ReplicationRuleResponse
	JSON400      *BadRequest
	JSON401      *Unauthenticated
	JSON403      *Unauthorized
	JSON404      *NotFound
	JSON500      *InternalServerError
}

func ParseCreateReplicationRuleResp

func ParseCreateReplicationRuleResp(rsp *http.Response) (*CreateReplicationRuleResp, error)

ParseCreateReplicationRuleResp parses an HTTP response from a CreateReplicationRuleWithResponse call

func (CreateReplicationRuleResp) Status

func (r CreateReplicationRuleResp) Status() string

Status returns HTTPResponse.Status

func (CreateReplicationRuleResp) StatusCode

func (r CreateReplicationRuleResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateWebhookJSONRequestBody

type CreateWebhookJSONRequestBody = WebhookRequest

CreateWebhookJSONRequestBody defines body for CreateWebhook for application/json ContentType.

type CreateWebhookResp

type CreateWebhookResp struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *WebhookResponse
	JSON400      *BadRequest
	JSON401      *Unauthenticated
	JSON403      *Unauthorized
	JSON500      *InternalServerError
}

func ParseCreateWebhookResp

func ParseCreateWebhookResp(rsp *http.Response) (*CreateWebhookResp, error)

ParseCreateWebhookResp parses an HTTP response from a CreateWebhookWithResponse call

func (CreateWebhookResp) Status

func (r CreateWebhookResp) Status() string

Status returns HTTPResponse.Status

func (CreateWebhookResp) StatusCode

func (r CreateWebhookResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteArtifactResp

type DeleteArtifactResp struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Success
	JSON400      *BadRequest
	JSON401      *Unauthenticated
	JSON403      *Unauthorized
	JSON404      *NotFound
	JSON500      *InternalServerError
}

func ParseDeleteArtifactResp

func ParseDeleteArtifactResp(rsp *http.Response) (*DeleteArtifactResp, error)

ParseDeleteArtifactResp parses an HTTP response from a DeleteArtifactWithResponse call

func (DeleteArtifactResp) Status

func (r DeleteArtifactResp) Status() string

Status returns HTTPResponse.Status

func (DeleteArtifactResp) StatusCode

func (r DeleteArtifactResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteArtifactVersionResp

type DeleteArtifactVersionResp struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Success
	JSON400      *BadRequest
	JSON401      *Unauthenticated
	JSON403      *Unauthorized
	JSON404      *NotFound
	JSON500      *InternalServerError
}

func ParseDeleteArtifactVersionResp

func ParseDeleteArtifactVersionResp(rsp *http.Response) (*DeleteArtifactVersionResp, error)

ParseDeleteArtifactVersionResp parses an HTTP response from a DeleteArtifactVersionWithResponse call

func (DeleteArtifactVersionResp) Status

func (r DeleteArtifactVersionResp) Status() string

Status returns HTTPResponse.Status

func (DeleteArtifactVersionResp) StatusCode

func (r DeleteArtifactVersionResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteRegistryResp

type DeleteRegistryResp struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Success
	JSON400      *BadRequest
	JSON401      *Unauthenticated
	JSON403      *Unauthorized
	JSON404      *NotFound
	JSON500      *InternalServerError
}

func ParseDeleteRegistryResp

func ParseDeleteRegistryResp(rsp *http.Response) (*DeleteRegistryResp, error)

ParseDeleteRegistryResp parses an HTTP response from a DeleteRegistryWithResponse call

func (DeleteRegistryResp) Status

func (r DeleteRegistryResp) Status() string

Status returns HTTPResponse.Status

func (DeleteRegistryResp) StatusCode

func (r DeleteRegistryResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteReplicationRuleResp

type DeleteReplicationRuleResp struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Success
	JSON400      *BadRequest
	JSON401      *Unauthenticated
	JSON403      *Unauthorized
	JSON404      *NotFound
	JSON500      *InternalServerError
}

func ParseDeleteReplicationRuleResp

func ParseDeleteReplicationRuleResp(rsp *http.Response) (*DeleteReplicationRuleResp, error)

ParseDeleteReplicationRuleResp parses an HTTP response from a DeleteReplicationRuleWithResponse call

func (DeleteReplicationRuleResp) Status

func (r DeleteReplicationRuleResp) Status() string

Status returns HTTPResponse.Status

func (DeleteReplicationRuleResp) StatusCode

func (r DeleteReplicationRuleResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteWebhookResp

type DeleteWebhookResp struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Success
	JSON400      *BadRequest
	JSON401      *Unauthenticated
	JSON403      *Unauthorized
	JSON404      *NotFound
	JSON500      *InternalServerError
}

func ParseDeleteWebhookResp

func ParseDeleteWebhookResp(rsp *http.Response) (*DeleteWebhookResp, error)

ParseDeleteWebhookResp parses an HTTP response from a DeleteWebhookWithResponse call

func (DeleteWebhookResp) Status

func (r DeleteWebhookResp) Status() string

Status returns HTTPResponse.Status

func (DeleteWebhookResp) StatusCode

func (r DeleteWebhookResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeployedArtifact

type DeployedArtifact = bool

DeployedArtifact defines model for deployedArtifact.

type DeploymentDetails

type DeploymentDetails struct {
	NonProdDeployment int `json:"nonProdDeployment"`
	ProdDeployment    int `json:"prodDeployment"`
	TotalDeployment   int `json:"totalDeployment"`
}

DeploymentDetails defines model for DeploymentDetails.

type DeploymentMetadata

type DeploymentMetadata struct {
	NonProdEnvCount int `json:"nonProdEnvCount"`
	ProdEnvCount    int `json:"prodEnvCount"`
}

DeploymentMetadata defines model for DeploymentMetadata.

type DeploymentStats

type DeploymentStats struct {
	PreProduction int `json:"PreProduction"`
	Production    int `json:"Production"`
}

DeploymentStats DeploymentStats

type DigestOptParam

type DigestOptParam = string

DigestOptParam defines model for digestOptParam.

type DigestParam

type DigestParam = string

DigestParam defines model for digestParam.

type DockerArtifactDetail

type DockerArtifactDetail struct {
	CreatedAt      *string `json:"createdAt,omitempty"`
	DownloadsCount *int64  `json:"downloadsCount,omitempty"`
	ImageName      string  `json:"imageName"`
	ModifiedAt     *string `json:"modifiedAt,omitempty"`

	// PackageType refers to package
	PackageType  PackageType `json:"packageType"`
	PullCommand  *string     `json:"pullCommand,omitempty"`
	RegistryPath string      `json:"registryPath"`
	Size         *string     `json:"size,omitempty"`
	Url          string      `json:"url"`
	Version      string      `json:"version"`
}

DockerArtifactDetail Docker Artifact Detail

type DockerArtifactDetailConfig

type DockerArtifactDetailConfig struct {
	PullCommand *string `json:"pullCommand,omitempty"`
}

DockerArtifactDetailConfig Config for docker artifact details

type DockerArtifactDetailIntegrationResponse

type DockerArtifactDetailIntegrationResponse struct {
	// Data Docker Artifact Detail
	Data DockerArtifactIntegrationDetail `json:"data"`

	// Status Indicates if the request was successful or not
	Status Status `json:"status"`
}

DockerArtifactDetailIntegrationResponse defines model for DockerArtifactDetailIntegrationResponse.

type DockerArtifactDetailResponse

type DockerArtifactDetailResponse struct {
	// Data Docker Artifact Detail
	Data DockerArtifactDetail `json:"data"`

	// Status Indicates if the request was successful or not
	Status Status `json:"status"`
}

DockerArtifactDetailResponse defines model for DockerArtifactDetailResponse.

type DockerArtifactIntegrationDetail

type DockerArtifactIntegrationDetail struct {
	BuildDetails       *BuildDetails      `json:"buildDetails,omitempty"`
	DeploymentsDetails *DeploymentDetails `json:"deploymentsDetails,omitempty"`
	SbomDetails        *SBOMDetails       `json:"sbomDetails,omitempty"`
	SlsaDetails        *SLSADetails       `json:"slsaDetails,omitempty"`
	StoDetails         *STODetails        `json:"stoDetails,omitempty"`
}

DockerArtifactIntegrationDetail Docker Artifact Detail

type DockerArtifactManifest

type DockerArtifactManifest struct {
	Manifest string `json:"manifest"`
}

DockerArtifactManifest Docker Artifact Manifest

type DockerArtifactManifestResponse

type DockerArtifactManifestResponse struct {
	// Data Docker Artifact Manifest
	Data DockerArtifactManifest `json:"data"`

	// Status Indicates if the request was successful or not
	Status Status `json:"status"`
}

DockerArtifactManifestResponse defines model for DockerArtifactManifestResponse.

type DockerLayerEntry

type DockerLayerEntry struct {
	Command string  `json:"command"`
	Size    *string `json:"size,omitempty"`
}

DockerLayerEntry Harness Artifact Layers

type DockerLayersResponse

type DockerLayersResponse struct {
	// Data Harness Layers Summary
	Data DockerLayersSummary `json:"data"`

	// Status Indicates if the request was successful or not
	Status Status `json:"status"`
}

DockerLayersResponse defines model for DockerLayersResponse.

type DockerLayersSummary

type DockerLayersSummary struct {
	Digest string              `json:"digest"`
	Layers *[]DockerLayerEntry `json:"layers,omitempty"`
	OsArch *string             `json:"osArch,omitempty"`
}

DockerLayersSummary Harness Layers Summary

type DockerManifestDetails

type DockerManifestDetails struct {
	CreatedAt      *string     `json:"createdAt,omitempty"`
	Digest         string      `json:"digest"`
	DownloadsCount *int64      `json:"downloadsCount,omitempty"`
	OsArch         string      `json:"osArch"`
	Size           *string     `json:"size,omitempty"`
	StoDetails     *STODetails `json:"stoDetails,omitempty"`
	StoExecutionId *string     `json:"stoExecutionId,omitempty"`
	StoPipelineId  *string     `json:"stoPipelineId,omitempty"`
}

DockerManifestDetails Harness Artifact Layers

type DockerManifests

type DockerManifests struct {
	ImageName string                   `json:"imageName"`
	Manifests *[]DockerManifestDetails `json:"manifests,omitempty"`
	Version   string                   `json:"version"`
}

DockerManifests Harness Manifests

type DockerManifestsResponse

type DockerManifestsResponse struct {
	// Data Harness Manifests
	Data DockerManifests `json:"data"`

	// Status Indicates if the request was successful or not
	Status Status `json:"status"`
}

DockerManifestsResponse defines model for DockerManifestsResponse.

type EnvType

type EnvType string

EnvType Environment Type

const (
	EnvTypePreProduction EnvType = "PreProduction"
	EnvTypeProduction    EnvType = "Production"
)

Defines values for EnvType.

type EnvironmentType

type EnvironmentType string

EnvironmentType Environment Type

const (
	EnvironmentTypePreProduction EnvironmentType = "PreProduction"
	EnvironmentTypeProduction    EnvironmentType = "Production"
)

Defines values for EnvironmentType.

type Error

type Error struct {
	// Code The http error code
	Code string `json:"code"`

	// Details Additional details about the error
	Details *map[string]interface{} `json:"details,omitempty"`

	// Message The reason the request failed
	Message string `json:"message"`
}

Error defines model for Error.

type ExtraHeader

type ExtraHeader struct {
	Key   string `json:"key"`
	Value string `json:"value"`
}

ExtraHeader Webhook Extra Header

type FileDetail

type FileDetail struct {
	Checksums       []string `json:"checksums"`
	CreatedAt       string   `json:"createdAt"`
	DownloadCommand string   `json:"downloadCommand"`
	Name            string   `json:"name"`
	Size            string   `json:"size"`
}

FileDetail File Detail

type FileDetailResponse

type FileDetailResponse struct {
	// Data A list of Harness Artifact Files
	Data ListFileDetail `json:"data"`

	// Status Indicates if the request was successful or not
	Status Status `json:"status"`
}

FileDetailResponse defines model for FileDetailResponse.

type FromDateParam

type FromDateParam = string

FromDateParam defines model for fromDateParam.

type GenericArtifactDetailConfig

type GenericArtifactDetailConfig struct {
	Description *string `json:"description,omitempty"`
}

GenericArtifactDetailConfig Config for generic artifact details

type GetAllArtifactVersionsParams

type GetAllArtifactVersionsParams struct {
	// Page Current page number
	Page *PageNumber `form:"page,omitempty" json:"page,omitempty"`

	// Size Number of items per page
	Size *PageSize `form:"size,omitempty" json:"size,omitempty"`

	// SortOrder sortOrder
	SortOrder *SortOrder `form:"sort_order,omitempty" json:"sort_order,omitempty"`

	// SortField sortField
	SortField *SortField `form:"sort_field,omitempty" json:"sort_field,omitempty"`

	// SearchTerm search Term.
	SearchTerm *SearchTerm `form:"search_term,omitempty" json:"search_term,omitempty"`
}

GetAllArtifactVersionsParams defines parameters for GetAllArtifactVersions.

type GetAllArtifactVersionsResp

type GetAllArtifactVersionsResp struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ListArtifactVersionResponse
	JSON400      *BadRequest
	JSON401      *Unauthenticated
	JSON403      *Unauthorized
	JSON404      *NotFound
	JSON500      *InternalServerError
}

func ParseGetAllArtifactVersionsResp

func ParseGetAllArtifactVersionsResp(rsp *http.Response) (*GetAllArtifactVersionsResp, error)

ParseGetAllArtifactVersionsResp parses an HTTP response from a GetAllArtifactVersionsWithResponse call

func (GetAllArtifactVersionsResp) Status

Status returns HTTPResponse.Status

func (GetAllArtifactVersionsResp) StatusCode

func (r GetAllArtifactVersionsResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetAllArtifactsByRegistryParams

type GetAllArtifactsByRegistryParams struct {
	// Label Label.
	Label *LabelsParam `form:"label,omitempty" json:"label,omitempty"`

	// Page Current page number
	Page *PageNumber `form:"page,omitempty" json:"page,omitempty"`

	// Size Number of items per page
	Size *PageSize `form:"size,omitempty" json:"size,omitempty"`

	// SortOrder sortOrder
	SortOrder *SortOrder `form:"sort_order,omitempty" json:"sort_order,omitempty"`

	// SortField sortField
	SortField *SortField `form:"sort_field,omitempty" json:"sort_field,omitempty"`

	// SearchTerm search Term.
	SearchTerm *SearchTerm `form:"search_term,omitempty" json:"search_term,omitempty"`
}

GetAllArtifactsByRegistryParams defines parameters for GetAllArtifactsByRegistry.

type GetAllArtifactsByRegistryResp

type GetAllArtifactsByRegistryResp struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ListRegistryArtifactResponse
	JSON400      *BadRequest
	JSON401      *Unauthenticated
	JSON403      *Unauthorized
	JSON404      *NotFound
	JSON500      *InternalServerError
}

func ParseGetAllArtifactsByRegistryResp

func ParseGetAllArtifactsByRegistryResp(rsp *http.Response) (*GetAllArtifactsByRegistryResp, error)

ParseGetAllArtifactsByRegistryResp parses an HTTP response from a GetAllArtifactsByRegistryWithResponse call

func (GetAllArtifactsByRegistryResp) Status

Status returns HTTPResponse.Status

func (GetAllArtifactsByRegistryResp) StatusCode

func (r GetAllArtifactsByRegistryResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetAllHarnessArtifactsParams

type GetAllHarnessArtifactsParams struct {
	// RegIdentifier Registry Identifier
	RegIdentifier *RegistryIdentifierParam `form:"reg_identifier,omitempty" json:"reg_identifier,omitempty"`

	// Page Current page number
	Page *PageNumber `form:"page,omitempty" json:"page,omitempty"`

	// Size Number of items per page
	Size *PageSize `form:"size,omitempty" json:"size,omitempty"`

	// SortOrder sortOrder
	SortOrder *SortOrder `form:"sort_order,omitempty" json:"sort_order,omitempty"`

	// SortField sortField
	SortField *SortField `form:"sort_field,omitempty" json:"sort_field,omitempty"`

	// SearchTerm search Term.
	SearchTerm *SearchTerm `form:"search_term,omitempty" json:"search_term,omitempty"`

	// LatestVersion Latest Version Filter.
	LatestVersion *LatestVersion `form:"latest_version,omitempty" json:"latest_version,omitempty"`

	// DeployedArtifact Deployed Artifact Filter.
	DeployedArtifact *DeployedArtifact `form:"deployed_artifact,omitempty" json:"deployed_artifact,omitempty"`

	// PackageType Registry Package Type
	PackageType *PackageTypeParam `form:"package_type,omitempty" json:"package_type,omitempty"`
}

GetAllHarnessArtifactsParams defines parameters for GetAllHarnessArtifacts.

type GetAllHarnessArtifactsResp

type GetAllHarnessArtifactsResp struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ListArtifactResponse
	JSON400      *BadRequest
	JSON401      *Unauthenticated
	JSON403      *Unauthorized
	JSON404      *NotFound
	JSON500      *InternalServerError
}

func ParseGetAllHarnessArtifactsResp

func ParseGetAllHarnessArtifactsResp(rsp *http.Response) (*GetAllHarnessArtifactsResp, error)

ParseGetAllHarnessArtifactsResp parses an HTTP response from a GetAllHarnessArtifactsWithResponse call

func (GetAllHarnessArtifactsResp) Status

Status returns HTTPResponse.Status

func (GetAllHarnessArtifactsResp) StatusCode

func (r GetAllHarnessArtifactsResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetAllRegistriesParams

type GetAllRegistriesParams struct {
	// PackageType Registry Package Type
	PackageType *PackageTypeParam `form:"package_type,omitempty" json:"package_type,omitempty"`

	// Type Registry Type
	Type *GetAllRegistriesParamsType `form:"type,omitempty" json:"type,omitempty"`

	// Page Current page number
	Page *PageNumber `form:"page,omitempty" json:"page,omitempty"`

	// Size Number of items per page
	Size *PageSize `form:"size,omitempty" json:"size,omitempty"`

	// SortOrder sortOrder
	SortOrder *SortOrder `form:"sort_order,omitempty" json:"sort_order,omitempty"`

	// SortField sortField
	SortField *SortField `form:"sort_field,omitempty" json:"sort_field,omitempty"`

	// SearchTerm search Term.
	SearchTerm *SearchTerm `form:"search_term,omitempty" json:"search_term,omitempty"`

	// Recursive Whether to list registries recursively.
	Recursive *RecursiveParam `form:"recursive,omitempty" json:"recursive,omitempty"`

	// Scope **Scope of registries to list**
	// * **none** – current space only (default)   * **ancestors** – current space **plus** all parent spaces   * **descendants** – current space **plus** all child spaces
	// If omitted, `none` is assumed.
	Scope *GetAllRegistriesParamsScope `form:"scope,omitempty" json:"scope,omitempty"`
}

GetAllRegistriesParams defines parameters for GetAllRegistries.

type GetAllRegistriesParamsScope

type GetAllRegistriesParamsScope string

GetAllRegistriesParamsScope defines parameters for GetAllRegistries.

const (
	GetAllRegistriesParamsScopeAncestors   GetAllRegistriesParamsScope = "ancestors"
	GetAllRegistriesParamsScopeDescendants GetAllRegistriesParamsScope = "descendants"
	GetAllRegistriesParamsScopeNone        GetAllRegistriesParamsScope = "none"
)

Defines values for GetAllRegistriesParamsScope.

type GetAllRegistriesParamsType

type GetAllRegistriesParamsType string

GetAllRegistriesParamsType defines parameters for GetAllRegistries.

const (
	UPSTREAM GetAllRegistriesParamsType = "UPSTREAM"
	VIRTUAL  GetAllRegistriesParamsType = "VIRTUAL"
)

Defines values for GetAllRegistriesParamsType.

type GetAllRegistriesResp

type GetAllRegistriesResp struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ListRegistryResponse
	JSON400      *BadRequest
	JSON401      *Unauthenticated
	JSON403      *Unauthorized
	JSON404      *NotFound
	JSON500      *InternalServerError
}

func ParseGetAllRegistriesResp

func ParseGetAllRegistriesResp(rsp *http.Response) (*GetAllRegistriesResp, error)

ParseGetAllRegistriesResp parses an HTTP response from a GetAllRegistriesWithResponse call

func (GetAllRegistriesResp) Status

func (r GetAllRegistriesResp) Status() string

Status returns HTTPResponse.Status

func (GetAllRegistriesResp) StatusCode

func (r GetAllRegistriesResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetArtifactDeploymentsParams

type GetArtifactDeploymentsParams struct {
	// EnvType env type
	EnvType *GetArtifactDeploymentsParamsEnvType `form:"env_type,omitempty" json:"env_type,omitempty"`

	// Page Current page number
	Page *PageNumber `form:"page,omitempty" json:"page,omitempty"`

	// Size Number of items per page
	Size *PageSize `form:"size,omitempty" json:"size,omitempty"`

	// SortOrder sortOrder
	SortOrder *SortOrder `form:"sort_order,omitempty" json:"sort_order,omitempty"`

	// SortField sortField
	SortField *SortField `form:"sort_field,omitempty" json:"sort_field,omitempty"`

	// SearchTerm search Term.
	SearchTerm *SearchTerm `form:"search_term,omitempty" json:"search_term,omitempty"`
}

GetArtifactDeploymentsParams defines parameters for GetArtifactDeployments.

type GetArtifactDeploymentsParamsEnvType

type GetArtifactDeploymentsParamsEnvType string

GetArtifactDeploymentsParamsEnvType defines parameters for GetArtifactDeployments.

const (
	PreProduction GetArtifactDeploymentsParamsEnvType = "PreProduction"
	Production    GetArtifactDeploymentsParamsEnvType = "Production"
)

Defines values for GetArtifactDeploymentsParamsEnvType.

type GetArtifactDeploymentsResp

type GetArtifactDeploymentsResp struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ArtifactDeploymentsResponse
	JSON400      *BadRequest
	JSON401      *Unauthenticated
	JSON403      *Unauthorized
	JSON404      *NotFound
	JSON500      *InternalServerError
}

func ParseGetArtifactDeploymentsResp

func ParseGetArtifactDeploymentsResp(rsp *http.Response) (*GetArtifactDeploymentsResp, error)

ParseGetArtifactDeploymentsResp parses an HTTP response from a GetArtifactDeploymentsWithResponse call

func (GetArtifactDeploymentsResp) Status

Status returns HTTPResponse.Status

func (GetArtifactDeploymentsResp) StatusCode

func (r GetArtifactDeploymentsResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetArtifactDetailsParams

type GetArtifactDetailsParams struct {
	// ChildVersion Child version incase of Docker artifacts.
	ChildVersion *ChildVersionParam `form:"childVersion,omitempty" json:"childVersion,omitempty"`
}

GetArtifactDetailsParams defines parameters for GetArtifactDetails.

type GetArtifactDetailsResp

type GetArtifactDetailsResp struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ArtifactDetailResponse
	JSON400      *BadRequest
	JSON401      *Unauthenticated
	JSON403      *Unauthorized
	JSON404      *NotFound
	JSON500      *InternalServerError
}

func ParseGetArtifactDetailsResp

func ParseGetArtifactDetailsResp(rsp *http.Response) (*GetArtifactDetailsResp, error)

ParseGetArtifactDetailsResp parses an HTTP response from a GetArtifactDetailsWithResponse call

func (GetArtifactDetailsResp) Status

func (r GetArtifactDetailsResp) Status() string

Status returns HTTPResponse.Status

func (GetArtifactDetailsResp) StatusCode

func (r GetArtifactDetailsResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetArtifactFilesParams

type GetArtifactFilesParams struct {
	// Page Current page number
	Page *PageNumber `form:"page,omitempty" json:"page,omitempty"`

	// Size Number of items per page
	Size *PageSize `form:"size,omitempty" json:"size,omitempty"`

	// SortOrder sortOrder
	SortOrder *SortOrder `form:"sort_order,omitempty" json:"sort_order,omitempty"`

	// SortField sortField
	SortField *SortField `form:"sort_field,omitempty" json:"sort_field,omitempty"`

	// SearchTerm search Term.
	SearchTerm *SearchTerm `form:"search_term,omitempty" json:"search_term,omitempty"`
}

GetArtifactFilesParams defines parameters for GetArtifactFiles.

type GetArtifactFilesResp

type GetArtifactFilesResp struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *FileDetailResponse
	JSON400      *BadRequest
	JSON401      *Unauthenticated
	JSON403      *Unauthorized
	JSON404      *NotFound
	JSON500      *InternalServerError
}

func ParseGetArtifactFilesResp

func ParseGetArtifactFilesResp(rsp *http.Response) (*GetArtifactFilesResp, error)

ParseGetArtifactFilesResp parses an HTTP response from a GetArtifactFilesWithResponse call

func (GetArtifactFilesResp) Status

func (r GetArtifactFilesResp) Status() string

Status returns HTTPResponse.Status

func (GetArtifactFilesResp) StatusCode

func (r GetArtifactFilesResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetArtifactStatsForRegistryParams

type GetArtifactStatsForRegistryParams struct {
	// From Date. Format - MM/DD/YYYY
	From *FromDateParam `form:"from,omitempty" json:"from,omitempty"`

	// To Date. Format - MM/DD/YYYY
	To *ToDateParam `form:"to,omitempty" json:"to,omitempty"`
}

GetArtifactStatsForRegistryParams defines parameters for GetArtifactStatsForRegistry.

type GetArtifactStatsForRegistryResp

type GetArtifactStatsForRegistryResp struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ArtifactStatsResponse
	JSON400      *BadRequest
	JSON401      *Unauthenticated
	JSON403      *Unauthorized
	JSON404      *NotFound
	JSON500      *InternalServerError
}

func ParseGetArtifactStatsForRegistryResp

func ParseGetArtifactStatsForRegistryResp(rsp *http.Response) (*GetArtifactStatsForRegistryResp, error)

ParseGetArtifactStatsForRegistryResp parses an HTTP response from a GetArtifactStatsForRegistryWithResponse call

func (GetArtifactStatsForRegistryResp) Status

Status returns HTTPResponse.Status

func (GetArtifactStatsForRegistryResp) StatusCode

func (r GetArtifactStatsForRegistryResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetArtifactStatsForSpaceParams

type GetArtifactStatsForSpaceParams struct {
	// From Date. Format - MM/DD/YYYY
	From *FromDateParam `form:"from,omitempty" json:"from,omitempty"`

	// To Date. Format - MM/DD/YYYY
	To *ToDateParam `form:"to,omitempty" json:"to,omitempty"`
}

GetArtifactStatsForSpaceParams defines parameters for GetArtifactStatsForSpace.

type GetArtifactStatsForSpaceResp

type GetArtifactStatsForSpaceResp struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ArtifactStatsResponse
	JSON400      *BadRequest
	JSON401      *Unauthenticated
	JSON403      *Unauthorized
	JSON404      *NotFound
	JSON500      *InternalServerError
}

func ParseGetArtifactStatsForSpaceResp

func ParseGetArtifactStatsForSpaceResp(rsp *http.Response) (*GetArtifactStatsForSpaceResp, error)

ParseGetArtifactStatsForSpaceResp parses an HTTP response from a GetArtifactStatsForSpaceWithResponse call

func (GetArtifactStatsForSpaceResp) Status

Status returns HTTPResponse.Status

func (GetArtifactStatsForSpaceResp) StatusCode

func (r GetArtifactStatsForSpaceResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetArtifactStatsParams

type GetArtifactStatsParams struct {
	// From Date. Format - MM/DD/YYYY
	From *FromDateParam `form:"from,omitempty" json:"from,omitempty"`

	// To Date. Format - MM/DD/YYYY
	To *ToDateParam `form:"to,omitempty" json:"to,omitempty"`
}

GetArtifactStatsParams defines parameters for GetArtifactStats.

type GetArtifactStatsResp

type GetArtifactStatsResp struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ArtifactStatsResponse
	JSON400      *BadRequest
	JSON401      *Unauthenticated
	JSON403      *Unauthorized
	JSON404      *NotFound
	JSON500      *InternalServerError
}

func ParseGetArtifactStatsResp

func ParseGetArtifactStatsResp(rsp *http.Response) (*GetArtifactStatsResp, error)

ParseGetArtifactStatsResp parses an HTTP response from a GetArtifactStatsWithResponse call

func (GetArtifactStatsResp) Status

func (r GetArtifactStatsResp) Status() string

Status returns HTTPResponse.Status

func (GetArtifactStatsResp) StatusCode

func (r GetArtifactStatsResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetArtifactSummaryResp

type GetArtifactSummaryResp struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ArtifactSummaryResponse
	JSON400      *BadRequest
	JSON401      *Unauthenticated
	JSON403      *Unauthorized
	JSON404      *NotFound
	JSON500      *InternalServerError
}

func ParseGetArtifactSummaryResp

func ParseGetArtifactSummaryResp(rsp *http.Response) (*GetArtifactSummaryResp, error)

ParseGetArtifactSummaryResp parses an HTTP response from a GetArtifactSummaryWithResponse call

func (GetArtifactSummaryResp) Status

func (r GetArtifactSummaryResp) Status() string

Status returns HTTPResponse.Status

func (GetArtifactSummaryResp) StatusCode

func (r GetArtifactSummaryResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetArtifactVersionSummaryParams

type GetArtifactVersionSummaryParams struct {
	// Digest Digest.
	Digest *DigestOptParam `form:"digest,omitempty" json:"digest,omitempty"`
}

GetArtifactVersionSummaryParams defines parameters for GetArtifactVersionSummary.

type GetArtifactVersionSummaryResp

type GetArtifactVersionSummaryResp struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ArtifactVersionSummaryResponse
	JSON400      *BadRequest
	JSON401      *Unauthenticated
	JSON403      *Unauthorized
	JSON404      *NotFound
	JSON500      *InternalServerError
}

func ParseGetArtifactVersionSummaryResp

func ParseGetArtifactVersionSummaryResp(rsp *http.Response) (*GetArtifactVersionSummaryResp, error)

ParseGetArtifactVersionSummaryResp parses an HTTP response from a GetArtifactVersionSummaryWithResponse call

func (GetArtifactVersionSummaryResp) Status

Status returns HTTPResponse.Status

func (GetArtifactVersionSummaryResp) StatusCode

func (r GetArtifactVersionSummaryResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetClientSetupDetailsParams

type GetClientSetupDetailsParams struct {
	// Artifact Artifat
	Artifact *ArtifactParam `form:"artifact,omitempty" json:"artifact,omitempty"`

	// Version Version
	Version *VersionParam `form:"version,omitempty" json:"version,omitempty"`
}

GetClientSetupDetailsParams defines parameters for GetClientSetupDetails.

type GetClientSetupDetailsResp

type GetClientSetupDetailsResp struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ClientSetupDetailsResponse
	JSON400      *BadRequest
	JSON401      *Unauthenticated
	JSON403      *Unauthorized
	JSON404      *NotFound
	JSON500      *InternalServerError
}

func ParseGetClientSetupDetailsResp

func ParseGetClientSetupDetailsResp(rsp *http.Response) (*GetClientSetupDetailsResp, error)

ParseGetClientSetupDetailsResp parses an HTTP response from a GetClientSetupDetailsWithResponse call

func (GetClientSetupDetailsResp) Status

func (r GetClientSetupDetailsResp) Status() string

Status returns HTTPResponse.Status

func (GetClientSetupDetailsResp) StatusCode

func (r GetClientSetupDetailsResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetDockerArtifactDetailsParams

type GetDockerArtifactDetailsParams struct {
	// Digest Digest.
	Digest DigestParam `form:"digest" json:"digest"`
}

GetDockerArtifactDetailsParams defines parameters for GetDockerArtifactDetails.

type GetDockerArtifactDetailsResp

type GetDockerArtifactDetailsResp struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *DockerArtifactDetailResponse
	JSON400      *BadRequest
	JSON401      *Unauthenticated
	JSON403      *Unauthorized
	JSON404      *NotFound
	JSON500      *InternalServerError
}

func ParseGetDockerArtifactDetailsResp

func ParseGetDockerArtifactDetailsResp(rsp *http.Response) (*GetDockerArtifactDetailsResp, error)

ParseGetDockerArtifactDetailsResp parses an HTTP response from a GetDockerArtifactDetailsWithResponse call

func (GetDockerArtifactDetailsResp) Status

Status returns HTTPResponse.Status

func (GetDockerArtifactDetailsResp) StatusCode

func (r GetDockerArtifactDetailsResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetDockerArtifactIntegrationDetailsParams

type GetDockerArtifactIntegrationDetailsParams struct {
	// Digest Digest.
	Digest DigestParam `form:"digest" json:"digest"`
}

GetDockerArtifactIntegrationDetailsParams defines parameters for GetDockerArtifactIntegrationDetails.

type GetDockerArtifactIntegrationDetailsResp

type GetDockerArtifactIntegrationDetailsResp struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *DockerArtifactDetailIntegrationResponse
	JSON400      *BadRequest
	JSON401      *Unauthenticated
	JSON403      *Unauthorized
	JSON404      *NotFound
	JSON500      *InternalServerError
}

func ParseGetDockerArtifactIntegrationDetailsResp

func ParseGetDockerArtifactIntegrationDetailsResp(rsp *http.Response) (*GetDockerArtifactIntegrationDetailsResp, error)

ParseGetDockerArtifactIntegrationDetailsResp parses an HTTP response from a GetDockerArtifactIntegrationDetailsWithResponse call

func (GetDockerArtifactIntegrationDetailsResp) Status

Status returns HTTPResponse.Status

func (GetDockerArtifactIntegrationDetailsResp) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetDockerArtifactLayersParams

type GetDockerArtifactLayersParams struct {
	// Digest Digest.
	Digest DigestParam `form:"digest" json:"digest"`
}

GetDockerArtifactLayersParams defines parameters for GetDockerArtifactLayers.

type GetDockerArtifactLayersResp

type GetDockerArtifactLayersResp struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *DockerLayersResponse
	JSON400      *BadRequest
	JSON401      *Unauthenticated
	JSON403      *Unauthorized
	JSON404      *NotFound
	JSON500      *InternalServerError
}

func ParseGetDockerArtifactLayersResp

func ParseGetDockerArtifactLayersResp(rsp *http.Response) (*GetDockerArtifactLayersResp, error)

ParseGetDockerArtifactLayersResp parses an HTTP response from a GetDockerArtifactLayersWithResponse call

func (GetDockerArtifactLayersResp) Status

Status returns HTTPResponse.Status

func (GetDockerArtifactLayersResp) StatusCode

func (r GetDockerArtifactLayersResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetDockerArtifactManifestParams

type GetDockerArtifactManifestParams struct {
	// Digest Digest.
	Digest DigestParam `form:"digest" json:"digest"`
}

GetDockerArtifactManifestParams defines parameters for GetDockerArtifactManifest.

type GetDockerArtifactManifestResp

type GetDockerArtifactManifestResp struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *DockerArtifactManifestResponse
	JSON400      *BadRequest
	JSON401      *Unauthenticated
	JSON403      *Unauthorized
	JSON404      *NotFound
	JSON500      *InternalServerError
}

func ParseGetDockerArtifactManifestResp

func ParseGetDockerArtifactManifestResp(rsp *http.Response) (*GetDockerArtifactManifestResp, error)

ParseGetDockerArtifactManifestResp parses an HTTP response from a GetDockerArtifactManifestWithResponse call

func (GetDockerArtifactManifestResp) Status

Status returns HTTPResponse.Status

func (GetDockerArtifactManifestResp) StatusCode

func (r GetDockerArtifactManifestResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetDockerArtifactManifestsResp

type GetDockerArtifactManifestsResp struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *DockerManifestsResponse
	JSON400      *BadRequest
	JSON401      *Unauthenticated
	JSON403      *Unauthorized
	JSON404      *NotFound
	JSON500      *InternalServerError
}

func ParseGetDockerArtifactManifestsResp

func ParseGetDockerArtifactManifestsResp(rsp *http.Response) (*GetDockerArtifactManifestsResp, error)

ParseGetDockerArtifactManifestsResp parses an HTTP response from a GetDockerArtifactManifestsWithResponse call

func (GetDockerArtifactManifestsResp) Status

Status returns HTTPResponse.Status

func (GetDockerArtifactManifestsResp) StatusCode

func (r GetDockerArtifactManifestsResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetHelmArtifactDetailsResp

type GetHelmArtifactDetailsResp struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *HelmArtifactDetailResponse
	JSON400      *BadRequest
	JSON401      *Unauthenticated
	JSON403      *Unauthorized
	JSON404      *NotFound
	JSON500      *InternalServerError
}

func ParseGetHelmArtifactDetailsResp

func ParseGetHelmArtifactDetailsResp(rsp *http.Response) (*GetHelmArtifactDetailsResp, error)

ParseGetHelmArtifactDetailsResp parses an HTTP response from a GetHelmArtifactDetailsWithResponse call

func (GetHelmArtifactDetailsResp) Status

Status returns HTTPResponse.Status

func (GetHelmArtifactDetailsResp) StatusCode

func (r GetHelmArtifactDetailsResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetHelmArtifactManifestResp

type GetHelmArtifactManifestResp struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *HelmArtifactManifestResponse
	JSON400      *BadRequest
	JSON401      *Unauthenticated
	JSON403      *Unauthorized
	JSON404      *NotFound
	JSON500      *InternalServerError
}

func ParseGetHelmArtifactManifestResp

func ParseGetHelmArtifactManifestResp(rsp *http.Response) (*GetHelmArtifactManifestResp, error)

ParseGetHelmArtifactManifestResp parses an HTTP response from a GetHelmArtifactManifestWithResponse call

func (GetHelmArtifactManifestResp) Status

Status returns HTTPResponse.Status

func (GetHelmArtifactManifestResp) StatusCode

func (r GetHelmArtifactManifestResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetMigrationLogsForImageResp

type GetMigrationLogsForImageResp struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON400      *BadRequest
	JSON401      *Unauthenticated
	JSON403      *Unauthorized
	JSON404      *NotFound
	JSON500      *InternalServerError
}

func ParseGetMigrationLogsForImageResp

func ParseGetMigrationLogsForImageResp(rsp *http.Response) (*GetMigrationLogsForImageResp, error)

ParseGetMigrationLogsForImageResp parses an HTTP response from a GetMigrationLogsForImageWithResponse call

func (GetMigrationLogsForImageResp) Status

Status returns HTTPResponse.Status

func (GetMigrationLogsForImageResp) StatusCode

func (r GetMigrationLogsForImageResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetRegistryResp

type GetRegistryResp struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *RegistryResponse
	JSON400      *BadRequest
	JSON401      *Unauthenticated
	JSON403      *Unauthorized
	JSON404      *NotFound
	JSON500      *InternalServerError
}

func ParseGetRegistryResp

func ParseGetRegistryResp(rsp *http.Response) (*GetRegistryResp, error)

ParseGetRegistryResp parses an HTTP response from a GetRegistryWithResponse call

func (GetRegistryResp) Status

func (r GetRegistryResp) Status() string

Status returns HTTPResponse.Status

func (GetRegistryResp) StatusCode

func (r GetRegistryResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetReplicationRuleResp

type GetReplicationRuleResp struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ReplicationRuleResponse
	JSON400      *BadRequest
	JSON401      *Unauthenticated
	JSON403      *Unauthorized
	JSON404      *NotFound
	JSON500      *InternalServerError
}

func ParseGetReplicationRuleResp

func ParseGetReplicationRuleResp(rsp *http.Response) (*GetReplicationRuleResp, error)

ParseGetReplicationRuleResp parses an HTTP response from a GetReplicationRuleWithResponse call

func (GetReplicationRuleResp) Status

func (r GetReplicationRuleResp) Status() string

Status returns HTTPResponse.Status

func (GetReplicationRuleResp) StatusCode

func (r GetReplicationRuleResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetStorageDetailsResp

type GetStorageDetailsResp struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *StorageDetailsResponse
	JSON400      *BadRequest
	JSON401      *Unauthenticated
	JSON403      *Unauthorized
	JSON404      *NotFound
	JSON500      *InternalServerError
}

func ParseGetStorageDetailsResp

func ParseGetStorageDetailsResp(rsp *http.Response) (*GetStorageDetailsResp, error)

ParseGetStorageDetailsResp parses an HTTP response from a GetStorageDetailsWithResponse call

func (GetStorageDetailsResp) Status

func (r GetStorageDetailsResp) Status() string

Status returns HTTPResponse.Status

func (GetStorageDetailsResp) StatusCode

func (r GetStorageDetailsResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetWebhookExecutionResp

type GetWebhookExecutionResp struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *WebhookExecutionResponse
	JSON400      *BadRequest
	JSON401      *Unauthenticated
	JSON403      *Unauthorized
	JSON500      *InternalServerError
}

func ParseGetWebhookExecutionResp

func ParseGetWebhookExecutionResp(rsp *http.Response) (*GetWebhookExecutionResp, error)

ParseGetWebhookExecutionResp parses an HTTP response from a GetWebhookExecutionWithResponse call

func (GetWebhookExecutionResp) Status

func (r GetWebhookExecutionResp) Status() string

Status returns HTTPResponse.Status

func (GetWebhookExecutionResp) StatusCode

func (r GetWebhookExecutionResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetWebhookResp

type GetWebhookResp struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *WebhookResponse
	JSON400      *BadRequest
	JSON401      *Unauthenticated
	JSON403      *Unauthorized
	JSON500      *InternalServerError
}

func ParseGetWebhookResp

func ParseGetWebhookResp(rsp *http.Response) (*GetWebhookResp, error)

ParseGetWebhookResp parses an HTTP response from a GetWebhookWithResponse call

func (GetWebhookResp) Status

func (r GetWebhookResp) Status() string

Status returns HTTPResponse.Status

func (GetWebhookResp) StatusCode

func (r GetWebhookResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type HelmArtifactDetail

type HelmArtifactDetail struct {
	Artifact       *string `json:"artifact,omitempty"`
	CreatedAt      *string `json:"createdAt,omitempty"`
	DownloadsCount *int64  `json:"downloadsCount,omitempty"`
	ModifiedAt     *string `json:"modifiedAt,omitempty"`

	// PackageType refers to package
	PackageType  PackageType `json:"packageType"`
	PullCommand  *string     `json:"pullCommand,omitempty"`
	RegistryPath string      `json:"registryPath"`
	Size         *string     `json:"size,omitempty"`
	Url          string      `json:"url"`
	Version      string      `json:"version"`
}

HelmArtifactDetail Helm Artifact Detail

type HelmArtifactDetailConfig

type HelmArtifactDetailConfig struct {
	PullCommand *string `json:"pullCommand,omitempty"`
}

HelmArtifactDetailConfig Config for helm artifact details

type HelmArtifactDetailResponse

type HelmArtifactDetailResponse struct {
	// Data Helm Artifact Detail
	Data HelmArtifactDetail `json:"data"`

	// Status Indicates if the request was successful or not
	Status Status `json:"status"`
}

HelmArtifactDetailResponse defines model for HelmArtifactDetailResponse.

type HelmArtifactManifest

type HelmArtifactManifest struct {
	Manifest string `json:"manifest"`
}

HelmArtifactManifest Helm Artifact Manifest

type HelmArtifactManifestResponse

type HelmArtifactManifestResponse struct {
	// Data Helm Artifact Manifest
	Data HelmArtifactManifest `json:"data"`

	// Status Indicates if the request was successful or not
	Status Status `json:"status"`
}

HelmArtifactManifestResponse defines model for HelmArtifactManifestResponse.

type HttpRequestDoer

type HttpRequestDoer interface {
	Do(req *http.Request) (*http.Response, error)
}

Doer performs HTTP requests.

The standard http.Client implements this interface.

type InternalServerError

type InternalServerError = Error

InternalServerError defines model for InternalServerError.

type JfrogReplicationRegistry

type JfrogReplicationRegistry struct {
	Namespace             string  `json:"namespace"`
	PasswordSecretId      *string `json:"passwordSecretId,omitempty"`
	PasswordSecretSpaceId *string `json:"passwordSecretSpaceId,omitempty"`
	Url                   string  `json:"url"`
	Username              *string `json:"username,omitempty"`
}

JfrogReplicationRegistry defines model for JfrogReplicationRegistry.

type LabelsParam

type LabelsParam = []string

LabelsParam defines model for LabelsParam.

type LatestVersion

type LatestVersion = bool

LatestVersion defines model for latestVersion.

type ListArtifact

type ListArtifact struct {
	// Artifacts A list of Artifact
	Artifacts []ArtifactMetadata `json:"artifacts"`

	// ItemCount The total number of items
	ItemCount *int64 `json:"itemCount,omitempty"`

	// PageCount The total number of pages
	PageCount *int64 `json:"pageCount,omitempty"`

	// PageIndex The current page
	PageIndex *int64 `json:"pageIndex,omitempty"`

	// PageSize The number of items per page
	PageSize *int `json:"pageSize,omitempty"`
}

ListArtifact A list of Artifacts

type ListArtifactLabel

type ListArtifactLabel struct {
	// ItemCount The total number of items
	ItemCount *int64   `json:"itemCount,omitempty"`
	Labels    []string `json:"labels"`

	// PageCount The total number of pages
	PageCount *int64 `json:"pageCount,omitempty"`

	// PageIndex The current page
	PageIndex *int64 `json:"pageIndex,omitempty"`

	// PageSize The number of items per page
	PageSize *int `json:"pageSize,omitempty"`
}

ListArtifactLabel A list of Harness Artifact Labels

type ListArtifactLabelResponse

type ListArtifactLabelResponse struct {
	// Data A list of Harness Artifact Labels
	Data ListArtifactLabel `json:"data"`

	// Status Indicates if the request was successful or not
	Status Status `json:"status"`
}

ListArtifactLabelResponse defines model for ListArtifactLabelResponse.

type ListArtifactLabelsParams

type ListArtifactLabelsParams struct {
	// Page Current page number
	Page *PageNumber `form:"page,omitempty" json:"page,omitempty"`

	// Size Number of items per page
	Size *PageSize `form:"size,omitempty" json:"size,omitempty"`

	// SearchTerm search Term.
	SearchTerm *SearchTerm `form:"search_term,omitempty" json:"search_term,omitempty"`
}

ListArtifactLabelsParams defines parameters for ListArtifactLabels.

type ListArtifactLabelsResp

type ListArtifactLabelsResp struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ListArtifactLabelResponse
	JSON400      *BadRequest
	JSON401      *Unauthenticated
	JSON403      *Unauthorized
	JSON404      *NotFound
	JSON500      *InternalServerError
}

func ParseListArtifactLabelsResp

func ParseListArtifactLabelsResp(rsp *http.Response) (*ListArtifactLabelsResp, error)

ParseListArtifactLabelsResp parses an HTTP response from a ListArtifactLabelsWithResponse call

func (ListArtifactLabelsResp) Status

func (r ListArtifactLabelsResp) Status() string

Status returns HTTPResponse.Status

func (ListArtifactLabelsResp) StatusCode

func (r ListArtifactLabelsResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListArtifactResponse

type ListArtifactResponse struct {
	// Data A list of Artifacts
	Data ListArtifact `json:"data"`

	// Status Indicates if the request was successful or not
	Status Status `json:"status"`
}

ListArtifactResponse defines model for ListArtifactResponse.

type ListArtifactVersion

type ListArtifactVersion struct {
	// ArtifactVersions A list of Artifact versions
	ArtifactVersions *[]ArtifactVersionMetadata `json:"artifactVersions,omitempty"`

	// ItemCount The total number of items
	ItemCount *int64 `json:"itemCount,omitempty"`

	// PageCount The total number of pages
	PageCount *int64 `json:"pageCount,omitempty"`

	// PageIndex The current page
	PageIndex *int64 `json:"pageIndex,omitempty"`

	// PageSize The number of items per page
	PageSize *int `json:"pageSize,omitempty"`
}

ListArtifactVersion A list of Artifact versions

type ListArtifactVersionResponse

type ListArtifactVersionResponse struct {
	// Data A list of Artifact versions
	Data ListArtifactVersion `json:"data"`

	// Status Indicates if the request was successful or not
	Status Status `json:"status"`
}

ListArtifactVersionResponse defines model for ListArtifactVersionResponse.

type ListFileDetail added in v1.1.0

type ListFileDetail struct {
	// Files A list of Harness Artifact Files
	Files []FileDetail `json:"files"`

	// ItemCount The total number of items
	ItemCount *int64 `json:"itemCount,omitempty"`

	// PageCount The total number of pages
	PageCount *int64 `json:"pageCount,omitempty"`

	// PageIndex The current page
	PageIndex *int64 `json:"pageIndex,omitempty"`

	// PageSize The number of items per page
	PageSize *int `json:"pageSize,omitempty"`
}

ListFileDetail A list of Harness Artifact Files

type ListMigrationImage

type ListMigrationImage struct {
	// Images A list of Artifact versions
	Images []MigrationImage `json:"images"`

	// ItemCount The total number of items
	ItemCount int64 `json:"itemCount"`

	// PageCount The total number of pages
	PageCount int64 `json:"pageCount"`

	// PageIndex The current page
	PageIndex int64 `json:"pageIndex"`

	// PageSize The number of items per page
	PageSize int `json:"pageSize"`
}

ListMigrationImage A list of migration images

type ListMigrationImageResponse

type ListMigrationImageResponse struct {
	// Data A list of migration images
	Data ListMigrationImage `json:"data"`

	// Status Indicates if the request was successful or not
	Status Status `json:"status"`
}

ListMigrationImageResponse defines model for ListMigrationImageResponse.

type ListMigrationImagesParams

type ListMigrationImagesParams struct {
	// Page Current page number
	Page *PageNumber `form:"page,omitempty" json:"page,omitempty"`

	// Size Number of items per page
	Size *PageSize `form:"size,omitempty" json:"size,omitempty"`

	// SortOrder sortOrder
	SortOrder *SortOrder `form:"sort_order,omitempty" json:"sort_order,omitempty"`

	// SortField sortField
	SortField *SortField `form:"sort_field,omitempty" json:"sort_field,omitempty"`
}

ListMigrationImagesParams defines parameters for ListMigrationImages.

type ListMigrationImagesResp

type ListMigrationImagesResp struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ListMigrationImageResponse
	JSON400      *BadRequest
	JSON401      *Unauthenticated
	JSON403      *Unauthorized
	JSON404      *NotFound
	JSON500      *InternalServerError
}

func ParseListMigrationImagesResp

func ParseListMigrationImagesResp(rsp *http.Response) (*ListMigrationImagesResp, error)

ParseListMigrationImagesResp parses an HTTP response from a ListMigrationImagesWithResponse call

func (ListMigrationImagesResp) Status

func (r ListMigrationImagesResp) Status() string

Status returns HTTPResponse.Status

func (ListMigrationImagesResp) StatusCode

func (r ListMigrationImagesResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListRegistry

type ListRegistry struct {
	// ItemCount The total number of items
	ItemCount *int64 `json:"itemCount,omitempty"`

	// PageCount The total number of pages
	PageCount *int64 `json:"pageCount,omitempty"`

	// PageIndex The current page
	PageIndex *int64 `json:"pageIndex,omitempty"`

	// PageSize The number of items per page
	PageSize *int `json:"pageSize,omitempty"`

	// Registries A list of Harness Artifact Registries
	Registries []RegistryMetadata `json:"registries"`
}

ListRegistry A list of Harness Artifact Registries

type ListRegistryArtifact

type ListRegistryArtifact struct {
	// Artifacts A list of Artifact
	Artifacts []RegistryArtifactMetadata `json:"artifacts"`

	// ItemCount The total number of items
	ItemCount *int64 `json:"itemCount,omitempty"`

	// PageCount The total number of pages
	PageCount *int64 `json:"pageCount,omitempty"`

	// PageIndex The current page
	PageIndex *int64 `json:"pageIndex,omitempty"`

	// PageSize The number of items per page
	PageSize *int `json:"pageSize,omitempty"`
}

ListRegistryArtifact A list of Artifacts

type ListRegistryArtifactResponse

type ListRegistryArtifactResponse struct {
	// Data A list of Artifacts
	Data ListRegistryArtifact `json:"data"`

	// Status Indicates if the request was successful or not
	Status Status `json:"status"`
}

ListRegistryArtifactResponse defines model for ListRegistryArtifactResponse.

type ListRegistryResponse

type ListRegistryResponse struct {
	// Data A list of Harness Artifact Registries
	Data ListRegistry `json:"data"`

	// Status Indicates if the request was successful or not
	Status Status `json:"status"`
}

ListRegistryResponse defines model for ListRegistryResponse.

type ListReplicationRule

type ListReplicationRule struct {
	// ItemCount The total number of items
	ItemCount int64 `json:"itemCount"`

	// PageCount The total number of pages
	PageCount int64 `json:"pageCount"`

	// PageIndex The current page
	PageIndex int64 `json:"pageIndex"`

	// PageSize The number of items per page
	PageSize int `json:"pageSize"`

	// Rules A list of Replication Rules
	Rules []ReplicationRule `json:"rules"`
}

ListReplicationRule A list of replication rules

type ListReplicationRuleResponse

type ListReplicationRuleResponse struct {
	// Data A list of replication rules
	Data ListReplicationRule `json:"data"`

	// Status Indicates if the request was successful or not
	Status Status `json:"status"`
}

ListReplicationRuleResponse defines model for ListReplicationRuleResponse.

type ListReplicationRulesParams

type ListReplicationRulesParams struct {
	// SpaceRef Unique space path
	SpaceRef *SpaceRefQueryParam `form:"space_ref,omitempty" json:"space_ref,omitempty"`
}

ListReplicationRulesParams defines parameters for ListReplicationRules.

type ListReplicationRulesResp

type ListReplicationRulesResp struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ListReplicationRuleResponse
	JSON400      *BadRequest
	JSON401      *Unauthenticated
	JSON403      *Unauthorized
	JSON404      *NotFound
	JSON500      *InternalServerError
}

func ParseListReplicationRulesResp

func ParseListReplicationRulesResp(rsp *http.Response) (*ListReplicationRulesResp, error)

ParseListReplicationRulesResp parses an HTTP response from a ListReplicationRulesWithResponse call

func (ListReplicationRulesResp) Status

func (r ListReplicationRulesResp) Status() string

Status returns HTTPResponse.Status

func (ListReplicationRulesResp) StatusCode

func (r ListReplicationRulesResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListWebhookExecutionsParams

type ListWebhookExecutionsParams struct {
	// Page Current page number
	Page *PageNumber `form:"page,omitempty" json:"page,omitempty"`

	// Size Number of items per page
	Size *PageSize `form:"size,omitempty" json:"size,omitempty"`
}

ListWebhookExecutionsParams defines parameters for ListWebhookExecutions.

type ListWebhookExecutionsResp

type ListWebhookExecutionsResp struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ListWebhooksExecutionResponse
	JSON400      *BadRequest
	JSON401      *Unauthenticated
	JSON403      *Unauthorized
	JSON500      *InternalServerError
}

func ParseListWebhookExecutionsResp

func ParseListWebhookExecutionsResp(rsp *http.Response) (*ListWebhookExecutionsResp, error)

ParseListWebhookExecutionsResp parses an HTTP response from a ListWebhookExecutionsWithResponse call

func (ListWebhookExecutionsResp) Status

func (r ListWebhookExecutionsResp) Status() string

Status returns HTTPResponse.Status

func (ListWebhookExecutionsResp) StatusCode

func (r ListWebhookExecutionsResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListWebhooks

type ListWebhooks struct {
	// ItemCount The total number of items
	ItemCount *int64 `json:"itemCount,omitempty"`

	// PageCount The total number of pages
	PageCount *int64 `json:"pageCount,omitempty"`

	// PageIndex The current page
	PageIndex *int64 `json:"pageIndex,omitempty"`

	// PageSize The number of items per page
	PageSize *int `json:"pageSize,omitempty"`

	// Webhooks A list of Registries webhooks
	Webhooks []Webhook `json:"webhooks"`
}

ListWebhooks A list of Harness Registries webhooks

type ListWebhooksExecutionResponse

type ListWebhooksExecutionResponse struct {
	// Data A list of Harness Registries webhooks executions
	Data ListWebhooksExecutions `json:"data"`

	// Status Indicates if the request was successful or not
	Status Status `json:"status"`
}

ListWebhooksExecutionResponse defines model for ListWebhooksExecutionResponse.

type ListWebhooksExecutions

type ListWebhooksExecutions struct {
	// Executions A list of Registries webhooks executions
	Executions []WebhookExecution `json:"executions"`

	// ItemCount The total number of items
	ItemCount *int64 `json:"itemCount,omitempty"`

	// PageCount The total number of pages
	PageCount *int64 `json:"pageCount,omitempty"`

	// PageIndex The current page
	PageIndex *int64 `json:"pageIndex,omitempty"`

	// PageSize The number of items per page
	PageSize *int `json:"pageSize,omitempty"`
}

ListWebhooksExecutions A list of Harness Registries webhooks executions

type ListWebhooksParams

type ListWebhooksParams struct {
	// Page Current page number
	Page *PageNumber `form:"page,omitempty" json:"page,omitempty"`

	// Size Number of items per page
	Size *PageSize `form:"size,omitempty" json:"size,omitempty"`

	// SortOrder sortOrder
	SortOrder *SortOrder `form:"sort_order,omitempty" json:"sort_order,omitempty"`

	// SortField sortField
	SortField *SortField `form:"sort_field,omitempty" json:"sort_field,omitempty"`

	// SearchTerm search Term.
	SearchTerm *SearchTerm `form:"search_term,omitempty" json:"search_term,omitempty"`
}

ListWebhooksParams defines parameters for ListWebhooks.

type ListWebhooksResp

type ListWebhooksResp struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ListWebhooksResponse
	JSON400      *BadRequest
	JSON401      *Unauthenticated
	JSON403      *Unauthorized
	JSON500      *InternalServerError
}

func ParseListWebhooksResp

func ParseListWebhooksResp(rsp *http.Response) (*ListWebhooksResp, error)

ParseListWebhooksResp parses an HTTP response from a ListWebhooksWithResponse call

func (ListWebhooksResp) Status

func (r ListWebhooksResp) Status() string

Status returns HTTPResponse.Status

func (ListWebhooksResp) StatusCode

func (r ListWebhooksResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListWebhooksResponse

type ListWebhooksResponse struct {
	// Data A list of Harness Registries webhooks
	Data ListWebhooks `json:"data"`

	// Status Indicates if the request was successful or not
	Status Status `json:"status"`
}

ListWebhooksResponse defines model for ListWebhooksResponse.

type LocalReplicationRegistry

type LocalReplicationRegistry struct {
	RegistryIdentifier string `json:"registryIdentifier"`
}

LocalReplicationRegistry defines model for LocalReplicationRegistry.

type MavenArtifactDetailConfig

type MavenArtifactDetailConfig struct {
	ArtifactId *string `json:"artifactId,omitempty"`
	GroupId    *string `json:"groupId,omitempty"`
}

MavenArtifactDetailConfig Config for maven artifact details

type MigrationImage

type MigrationImage struct {
	ImageId  *string `json:"imageId,omitempty"`
	ImageTag *string `json:"imageTag,omitempty"`
	Progress *int    `json:"progress,omitempty"`
	Status   *string `json:"status,omitempty"`
}

MigrationImage defines model for MigrationImage.

type ModifyRegistryJSONRequestBody

type ModifyRegistryJSONRequestBody = RegistryRequest

ModifyRegistryJSONRequestBody defines body for ModifyRegistry for application/json ContentType.

type ModifyRegistryResp

type ModifyRegistryResp struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *RegistryResponse
	JSON400      *BadRequest
	JSON401      *Unauthenticated
	JSON403      *Unauthorized
	JSON404      *NotFound
	JSON500      *InternalServerError
}

func ParseModifyRegistryResp

func ParseModifyRegistryResp(rsp *http.Response) (*ModifyRegistryResp, error)

ParseModifyRegistryResp parses an HTTP response from a ModifyRegistryWithResponse call

func (ModifyRegistryResp) Status

func (r ModifyRegistryResp) Status() string

Status returns HTTPResponse.Status

func (ModifyRegistryResp) StatusCode

func (r ModifyRegistryResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type NotFound

type NotFound = Error

NotFound defines model for NotFound.

type NpmArtifactDetailConfig

type NpmArtifactDetailConfig struct {
	Metadata *map[string]interface{} `json:"metadata,omitempty"`
}

NpmArtifactDetailConfig Config for npm artifact details

type PackageType

type PackageType string

PackageType refers to package

const (
	DOCKER  PackageType = "DOCKER"
	GENERIC PackageType = "GENERIC"
	HELM    PackageType = "HELM"
	MAVEN   PackageType = "MAVEN"
)

Defines values for PackageType.

type PackageTypeParam

type PackageTypeParam = []string

PackageTypeParam defines model for packageTypeParam.

type PageNumber

type PageNumber = int64

PageNumber defines model for pageNumber.

type PageSize

type PageSize = int64

PageSize defines model for pageSize.

type PythonArtifactDetailConfig

type PythonArtifactDetailConfig struct {
	Metadata *map[string]interface{} `json:"metadata,omitempty"`
}

PythonArtifactDetailConfig Config for python artifact details

type ReTriggerWebhookExecutionResp

type ReTriggerWebhookExecutionResp struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *WebhookExecutionResponse
	JSON400      *BadRequest
	JSON401      *Unauthenticated
	JSON403      *Unauthorized
	JSON500      *InternalServerError
}

func ParseReTriggerWebhookExecutionResp

func ParseReTriggerWebhookExecutionResp(rsp *http.Response) (*ReTriggerWebhookExecutionResp, error)

ParseReTriggerWebhookExecutionResp parses an HTTP response from a ReTriggerWebhookExecutionWithResponse call

func (ReTriggerWebhookExecutionResp) Status

Status returns HTTPResponse.Status

func (ReTriggerWebhookExecutionResp) StatusCode

func (r ReTriggerWebhookExecutionResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type RecursiveParam

type RecursiveParam = bool

RecursiveParam defines model for recursiveParam.

type RedirectHarnessArtifactParams

type RedirectHarnessArtifactParams struct {
	// AccountIdentifier Account Identifier
	AccountIdentifier *AccountIdentifierParam `form:"accountIdentifier,omitempty" json:"accountIdentifier,omitempty"`

	// Version Version
	Version *VersionParam `form:"version,omitempty" json:"version,omitempty"`
}

RedirectHarnessArtifactParams defines parameters for RedirectHarnessArtifact.

type RedirectHarnessArtifactResp

type RedirectHarnessArtifactResp struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON400      *BadRequest
	JSON401      *Unauthenticated
	JSON403      *Unauthorized
	JSON404      *NotFound
	JSON500      *InternalServerError
}

func ParseRedirectHarnessArtifactResp

func ParseRedirectHarnessArtifactResp(rsp *http.Response) (*RedirectHarnessArtifactResp, error)

ParseRedirectHarnessArtifactResp parses an HTTP response from a RedirectHarnessArtifactWithResponse call

func (RedirectHarnessArtifactResp) Status

Status returns HTTPResponse.Status

func (RedirectHarnessArtifactResp) StatusCode

func (r RedirectHarnessArtifactResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type Registry

type Registry struct {
	AllowedPattern *[]string        `json:"allowedPattern,omitempty"`
	BlockedPattern *[]string        `json:"blockedPattern,omitempty"`
	CleanupPolicy  *[]CleanupPolicy `json:"cleanupPolicy,omitempty"`

	// Config SubConfig specific for Virtual or Upstream Registry
	Config      *RegistryConfig `json:"config,omitempty"`
	CreatedAt   *string         `json:"createdAt,omitempty"`
	Description *string         `json:"description,omitempty"`
	Identifier  string          `json:"identifier"`
	Labels      *[]string       `json:"labels,omitempty"`
	ModifiedAt  *string         `json:"modifiedAt,omitempty"`

	// PackageType refers to package
	PackageType PackageType `json:"packageType"`
	Scanners    *[]Scanner  `json:"scanners,omitempty"`
	Url         string      `json:"url"`
}

Registry Harness Artifact Registry

type RegistryArtifactMetadata

type RegistryArtifactMetadata struct {
	DownloadsCount *int64    `json:"downloadsCount,omitempty"`
	Labels         *[]string `json:"labels,omitempty"`
	LastModified   *string   `json:"lastModified,omitempty"`
	LatestVersion  string    `json:"latestVersion"`
	Name           string    `json:"name"`

	// PackageType refers to package
	PackageType        *PackageType `json:"packageType,omitempty"`
	RegistryIdentifier string       `json:"registryIdentifier"`
	RegistryPath       string       `json:"registryPath"`
}

RegistryArtifactMetadata Artifact Metadata

type RegistryConfig

type RegistryConfig struct {
	// Type refers to type of registry i.e virtual or upstream
	Type RegistryType `json:"type"`
	// contains filtered or unexported fields
}

RegistryConfig SubConfig specific for Virtual or Upstream Registry

func (RegistryConfig) AsUpstreamConfig

func (t RegistryConfig) AsUpstreamConfig() (UpstreamConfig, error)

AsUpstreamConfig returns the union data inside the RegistryConfig as a UpstreamConfig

func (RegistryConfig) AsVirtualConfig

func (t RegistryConfig) AsVirtualConfig() (VirtualConfig, error)

AsVirtualConfig returns the union data inside the RegistryConfig as a VirtualConfig

func (RegistryConfig) Discriminator

func (t RegistryConfig) Discriminator() (string, error)

func (*RegistryConfig) FromUpstreamConfig

func (t *RegistryConfig) FromUpstreamConfig(v UpstreamConfig) error

FromUpstreamConfig overwrites any union data inside the RegistryConfig as the provided UpstreamConfig

func (*RegistryConfig) FromVirtualConfig

func (t *RegistryConfig) FromVirtualConfig(v VirtualConfig) error

FromVirtualConfig overwrites any union data inside the RegistryConfig as the provided VirtualConfig

func (RegistryConfig) MarshalJSON

func (t RegistryConfig) MarshalJSON() ([]byte, error)

func (*RegistryConfig) MergeUpstreamConfig

func (t *RegistryConfig) MergeUpstreamConfig(v UpstreamConfig) error

MergeUpstreamConfig performs a merge with any union data inside the RegistryConfig, using the provided UpstreamConfig

func (*RegistryConfig) MergeVirtualConfig

func (t *RegistryConfig) MergeVirtualConfig(v VirtualConfig) error

MergeVirtualConfig performs a merge with any union data inside the RegistryConfig, using the provided VirtualConfig

func (*RegistryConfig) UnmarshalJSON

func (t *RegistryConfig) UnmarshalJSON(b []byte) error

func (RegistryConfig) ValueByDiscriminator

func (t RegistryConfig) ValueByDiscriminator() (interface{}, error)

type RegistryIdentifierParam

type RegistryIdentifierParam = []string

RegistryIdentifierParam defines model for RegistryIdentifierParam.

type RegistryIdentifierPathParam

type RegistryIdentifierPathParam = string

RegistryIdentifierPathParam defines model for RegistryIdentifierPathParam.

type RegistryMetadata

type RegistryMetadata struct {
	ArtifactsCount *int64    `json:"artifactsCount,omitempty"`
	Description    *string   `json:"description,omitempty"`
	DownloadsCount *int64    `json:"downloadsCount,omitempty"`
	Identifier     string    `json:"identifier"`
	Labels         *[]string `json:"labels,omitempty"`
	LastModified   *string   `json:"lastModified,omitempty"`

	// PackageType refers to package
	PackageType  PackageType `json:"packageType"`
	Path         *string     `json:"path,omitempty"`
	RegistrySize *string     `json:"registrySize,omitempty"`

	// Type refers to type of registry i.e virtual or upstream
	Type RegistryType `json:"type"`
	Url  string       `json:"url"`
}

RegistryMetadata Harness Artifact Registry Metadata

type RegistryRefPathParam

type RegistryRefPathParam = string

RegistryRefPathParam defines model for registryRefPathParam.

type RegistryRequest

type RegistryRequest struct {
	AllowedPattern *[]string        `json:"allowedPattern,omitempty"`
	BlockedPattern *[]string        `json:"blockedPattern,omitempty"`
	CleanupPolicy  *[]CleanupPolicy `json:"cleanupPolicy,omitempty"`

	// Config SubConfig specific for Virtual or Upstream Registry
	Config      *RegistryConfig `json:"config,omitempty"`
	Description *string         `json:"description,omitempty"`
	Identifier  string          `json:"identifier"`
	Labels      *[]string       `json:"labels,omitempty"`

	// PackageType refers to package
	PackageType PackageType `json:"packageType"`
	ParentRef   *string     `json:"parentRef,omitempty"`
	Scanners    *[]Scanner  `json:"scanners,omitempty"`
}

RegistryRequest defines model for RegistryRequest.

type RegistryResponse

type RegistryResponse struct {
	// Data Harness Artifact Registry
	Data Registry `json:"data"`

	// Status Indicates if the request was successful or not
	Status Status `json:"status"`
}

RegistryResponse defines model for RegistryResponse.

type RegistryType

type RegistryType string

RegistryType refers to type of registry i.e virtual or upstream

const (
	RegistryTypeUPSTREAM RegistryType = "UPSTREAM"
	RegistryTypeVIRTUAL  RegistryType = "VIRTUAL"
)

Defines values for RegistryType.

type RegistryTypeParam

type RegistryTypeParam string

RegistryTypeParam defines model for RegistryTypeParam.

const (
	RegistryTypeParamUPSTREAM RegistryTypeParam = "UPSTREAM"
	RegistryTypeParamVIRTUAL  RegistryTypeParam = "VIRTUAL"
)

Defines values for RegistryTypeParam.

type ReplicationRegistry

type ReplicationRegistry struct {
	// contains filtered or unexported fields
}

ReplicationRegistry defines model for ReplicationRegistry.

func (ReplicationRegistry) AsJfrogReplicationRegistry

func (t ReplicationRegistry) AsJfrogReplicationRegistry() (JfrogReplicationRegistry, error)

AsJfrogReplicationRegistry returns the union data inside the ReplicationRegistry as a JfrogReplicationRegistry

func (ReplicationRegistry) AsLocalReplicationRegistry

func (t ReplicationRegistry) AsLocalReplicationRegistry() (LocalReplicationRegistry, error)

AsLocalReplicationRegistry returns the union data inside the ReplicationRegistry as a LocalReplicationRegistry

func (*ReplicationRegistry) FromJfrogReplicationRegistry

func (t *ReplicationRegistry) FromJfrogReplicationRegistry(v JfrogReplicationRegistry) error

FromJfrogReplicationRegistry overwrites any union data inside the ReplicationRegistry as the provided JfrogReplicationRegistry

func (*ReplicationRegistry) FromLocalReplicationRegistry

func (t *ReplicationRegistry) FromLocalReplicationRegistry(v LocalReplicationRegistry) error

FromLocalReplicationRegistry overwrites any union data inside the ReplicationRegistry as the provided LocalReplicationRegistry

func (ReplicationRegistry) MarshalJSON

func (t ReplicationRegistry) MarshalJSON() ([]byte, error)

func (*ReplicationRegistry) MergeJfrogReplicationRegistry

func (t *ReplicationRegistry) MergeJfrogReplicationRegistry(v JfrogReplicationRegistry) error

MergeJfrogReplicationRegistry performs a merge with any union data inside the ReplicationRegistry, using the provided JfrogReplicationRegistry

func (*ReplicationRegistry) MergeLocalReplicationRegistry

func (t *ReplicationRegistry) MergeLocalReplicationRegistry(v LocalReplicationRegistry) error

MergeLocalReplicationRegistry performs a merge with any union data inside the ReplicationRegistry, using the provided LocalReplicationRegistry

func (*ReplicationRegistry) UnmarshalJSON

func (t *ReplicationRegistry) UnmarshalJSON(b []byte) error

type ReplicationRule

type ReplicationRule struct {
	AllowedPatterns []string                       `json:"allowedPatterns"`
	BlockedPatterns []string                       `json:"blockedPatterns"`
	CreatedAt       string                         `json:"createdAt"`
	Destination     ReplicationRegistry            `json:"destination"`
	DestinationType ReplicationRuleDestinationType `json:"destinationType"`
	Identifier      string                         `json:"identifier"`
	ModifiedAt      string                         `json:"modifiedAt"`
	ParentRef       string                         `json:"parentRef"`
	Source          ReplicationRegistry            `json:"source"`
	SourceType      ReplicationRuleSourceType      `json:"sourceType"`
}

ReplicationRule defines model for ReplicationRule.

type ReplicationRuleDestinationType

type ReplicationRuleDestinationType string

ReplicationRuleDestinationType defines model for ReplicationRule.DestinationType.

const (
	ReplicationRuleDestinationTypeGCP   ReplicationRuleDestinationType = "GCP"
	ReplicationRuleDestinationTypeJfrog ReplicationRuleDestinationType = "Jfrog"
	ReplicationRuleDestinationTypeLocal ReplicationRuleDestinationType = "Local"
)

Defines values for ReplicationRuleDestinationType.

type ReplicationRuleRequest

type ReplicationRuleRequest struct {
	AllowedPatterns []string                              `json:"allowedPatterns"`
	BlockedPatterns []string                              `json:"blockedPatterns"`
	Destination     ReplicationRegistry                   `json:"destination"`
	DestinationType ReplicationRuleRequestDestinationType `json:"destinationType"`
	Source          ReplicationRegistry                   `json:"source"`
	SourceType      ReplicationRuleRequestSourceType      `json:"sourceType"`
}

ReplicationRuleRequest defines model for ReplicationRuleRequest.

type ReplicationRuleRequestDestinationType

type ReplicationRuleRequestDestinationType string

ReplicationRuleRequestDestinationType defines model for ReplicationRuleRequest.DestinationType.

const (
	ReplicationRuleRequestDestinationTypeGCP   ReplicationRuleRequestDestinationType = "GCP"
	ReplicationRuleRequestDestinationTypeJfrog ReplicationRuleRequestDestinationType = "Jfrog"
	ReplicationRuleRequestDestinationTypeLocal ReplicationRuleRequestDestinationType = "Local"
)

Defines values for ReplicationRuleRequestDestinationType.

type ReplicationRuleRequestSourceType

type ReplicationRuleRequestSourceType string

ReplicationRuleRequestSourceType defines model for ReplicationRuleRequest.SourceType.

const (
	ReplicationRuleRequestSourceTypeGCP   ReplicationRuleRequestSourceType = "GCP"
	ReplicationRuleRequestSourceTypeJfrog ReplicationRuleRequestSourceType = "Jfrog"
	ReplicationRuleRequestSourceTypeLocal ReplicationRuleRequestSourceType = "Local"
)

Defines values for ReplicationRuleRequestSourceType.

type ReplicationRuleResponse

type ReplicationRuleResponse struct {
	Data ReplicationRule `json:"data"`

	// Status Indicates if the request was successful or not
	Status Status `json:"status"`
}

ReplicationRuleResponse defines model for ReplicationRuleResponse.

type ReplicationRuleSourceType

type ReplicationRuleSourceType string

ReplicationRuleSourceType defines model for ReplicationRule.SourceType.

const (
	ReplicationRuleSourceTypeGCP   ReplicationRuleSourceType = "GCP"
	ReplicationRuleSourceTypeJfrog ReplicationRuleSourceType = "Jfrog"
	ReplicationRuleSourceTypeLocal ReplicationRuleSourceType = "Local"
)

Defines values for ReplicationRuleSourceType.

type RequestEditorFn

type RequestEditorFn func(ctx context.Context, req *http.Request) error

RequestEditorFn is the function signature for the RequestEditor callback function

type RpmArtifactDetailConfig

type RpmArtifactDetailConfig struct {
	Metadata *map[string]interface{} `json:"metadata,omitempty"`
}

RpmArtifactDetailConfig Config for RPM artifact details

type SBOMDetails

type SBOMDetails struct {
	AllowListViolations *int    `json:"allowListViolations,omitempty"`
	ArtifactId          *string `json:"artifactId,omitempty"`
	ArtifactSourceId    *string `json:"artifactSourceId,omitempty"`
	AvgScore            *string `json:"avgScore,omitempty"`
	ComponentsCount     *int    `json:"componentsCount,omitempty"`
	DenyListViolations  *int    `json:"denyListViolations,omitempty"`
	MaxScore            *string `json:"maxScore,omitempty"`
	OrchestrationId     *string `json:"orchestrationId,omitempty"`
	OrgId               *string `json:"orgId,omitempty"`
	ProjectId           *string `json:"projectId,omitempty"`
}

SBOMDetails defines model for SBOMDetails.

type SLSADetails

type SLSADetails struct {
	ProvenanceId *string `json:"provenanceId,omitempty"`
	Status       *string `json:"status,omitempty"`
}

SLSADetails defines model for SLSADetails.

type STODetails

type STODetails struct {
	Critical    *int    `json:"critical,omitempty"`
	ExecutionId *string `json:"executionId,omitempty"`
	High        *int    `json:"high,omitempty"`
	Ignored     *int    `json:"ignored,omitempty"`
	Info        *int    `json:"info,omitempty"`
	LastScanned *string `json:"lastScanned,omitempty"`
	Low         *int    `json:"low,omitempty"`
	Medium      *int    `json:"medium,omitempty"`
	PipelineId  *string `json:"pipelineId,omitempty"`
	Total       *int    `json:"total,omitempty"`
}

STODetails defines model for STODetails.

type Scanner

type Scanner struct {
	Name *ScannerName `json:"name,omitempty"`
}

Scanner Scanner for Harness Artifact Registries

type ScannerName

type ScannerName string

ScannerName defines model for Scanner.Name.

const (
	AQUATRIVY ScannerName = "AQUA_TRIVY"
	GRYPE     ScannerName = "GRYPE"
)

Defines values for ScannerName.

type ScopeParam

type ScopeParam string

ScopeParam defines model for scopeParam.

const (
	ScopeParamAncestors   ScopeParam = "ancestors"
	ScopeParamDescendants ScopeParam = "descendants"
	ScopeParamNone        ScopeParam = "none"
)

Defines values for ScopeParam.

type SearchTerm

type SearchTerm = string

SearchTerm defines model for searchTerm.

type SectionType

type SectionType string

SectionType refers to client setup section type

const (
	INLINE SectionType = "INLINE"
	TABS   SectionType = "TABS"
)

Defines values for SectionType.

type SortField

type SortField = string

SortField defines model for sortField.

type SortOrder

type SortOrder = string

SortOrder defines model for sortOrder.

type SpaceRefPathParam

type SpaceRefPathParam = string

SpaceRefPathParam defines model for spaceRefPathParam.

type SpaceRefQueryParam

type SpaceRefQueryParam = string

SpaceRefQueryParam defines model for spaceRefQueryParam.

type StartMigrationResp

type StartMigrationResp struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Success
	JSON400      *BadRequest
	JSON401      *Unauthenticated
	JSON403      *Unauthorized
	JSON404      *NotFound
	JSON500      *InternalServerError
}

func ParseStartMigrationResp

func ParseStartMigrationResp(rsp *http.Response) (*StartMigrationResp, error)

ParseStartMigrationResp parses an HTTP response from a StartMigrationWithResponse call

func (StartMigrationResp) Status

func (r StartMigrationResp) Status() string

Status returns HTTPResponse.Status

func (StartMigrationResp) StatusCode

func (r StartMigrationResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type Status

type Status string

Status Indicates if the request was successful or not

const (
	StatusERROR   Status = "ERROR"
	StatusFAILURE Status = "FAILURE"
	StatusSUCCESS Status = "SUCCESS"
)

Defines values for Status.

type StopMigrationResp

type StopMigrationResp struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Success
	JSON400      *BadRequest
	JSON401      *Unauthenticated
	JSON403      *Unauthorized
	JSON404      *NotFound
	JSON500      *InternalServerError
}

func ParseStopMigrationResp

func ParseStopMigrationResp(rsp *http.Response) (*StopMigrationResp, error)

ParseStopMigrationResp parses an HTTP response from a StopMigrationWithResponse call

func (StopMigrationResp) Status

func (r StopMigrationResp) Status() string

Status returns HTTPResponse.Status

func (StopMigrationResp) StatusCode

func (r StopMigrationResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type StorageDetails

type StorageDetails struct {
	TotalSize string `json:"totalSize"`
}

StorageDetails storage details

type StorageDetailsResponse

type StorageDetailsResponse struct {
	// Data storage details
	Data StorageDetails `json:"data"`

	// Status Indicates if the request was successful or not
	Status Status `json:"status"`
}

StorageDetailsResponse defines model for StorageDetailsResponse.

type Success

type Success struct {
	// Status Indicates if the request was successful or not
	Status Status `json:"status"`
}

Success defines model for Success.

type TabSetupStep

type TabSetupStep struct {
	Header   *string               `json:"header,omitempty"`
	Sections *[]ClientSetupSection `json:"sections,omitempty"`
}

TabSetupStep Tab Setup step

type TabSetupStepConfig

type TabSetupStepConfig struct {
	Tabs *[]TabSetupStep `json:"tabs,omitempty"`
}

TabSetupStepConfig Tab Setup step config

type ToDateParam

type ToDateParam = string

ToDateParam defines model for toDateParam.

type Trigger

type Trigger string

Trigger refers to trigger

const (
	ARTIFACTCREATION Trigger = "ARTIFACT_CREATION"
	ARTIFACTDELETION Trigger = "ARTIFACT_DELETION"
)

Defines values for Trigger.

type Unauthenticated

type Unauthenticated = Error

Unauthenticated defines model for Unauthenticated.

type Unauthorized

type Unauthorized = Error

Unauthorized defines model for Unauthorized.

type UpdateArtifactLabelsJSONRequestBody

type UpdateArtifactLabelsJSONRequestBody = ArtifactLabelRequest

UpdateArtifactLabelsJSONRequestBody defines body for UpdateArtifactLabels for application/json ContentType.

type UpdateArtifactLabelsResp

type UpdateArtifactLabelsResp struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ArtifactLabelResponse
	JSON400      *BadRequest
	JSON401      *Unauthenticated
	JSON403      *Unauthorized
	JSON404      *NotFound
	JSON500      *InternalServerError
}

func ParseUpdateArtifactLabelsResp

func ParseUpdateArtifactLabelsResp(rsp *http.Response) (*UpdateArtifactLabelsResp, error)

ParseUpdateArtifactLabelsResp parses an HTTP response from a UpdateArtifactLabelsWithResponse call

func (UpdateArtifactLabelsResp) Status

func (r UpdateArtifactLabelsResp) Status() string

Status returns HTTPResponse.Status

func (UpdateArtifactLabelsResp) StatusCode

func (r UpdateArtifactLabelsResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateReplicationRuleJSONRequestBody

type UpdateReplicationRuleJSONRequestBody = ReplicationRuleRequest

UpdateReplicationRuleJSONRequestBody defines body for UpdateReplicationRule for application/json ContentType.

type UpdateReplicationRuleResp

type UpdateReplicationRuleResp struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ReplicationRuleResponse
	JSON400      *BadRequest
	JSON401      *Unauthenticated
	JSON403      *Unauthorized
	JSON404      *NotFound
	JSON500      *InternalServerError
}

func ParseUpdateReplicationRuleResp

func ParseUpdateReplicationRuleResp(rsp *http.Response) (*UpdateReplicationRuleResp, error)

ParseUpdateReplicationRuleResp parses an HTTP response from a UpdateReplicationRuleWithResponse call

func (UpdateReplicationRuleResp) Status

func (r UpdateReplicationRuleResp) Status() string

Status returns HTTPResponse.Status

func (UpdateReplicationRuleResp) StatusCode

func (r UpdateReplicationRuleResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpdateWebhookJSONRequestBody

type UpdateWebhookJSONRequestBody = WebhookRequest

UpdateWebhookJSONRequestBody defines body for UpdateWebhook for application/json ContentType.

type UpdateWebhookResp

type UpdateWebhookResp struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON201      *WebhookResponse
	JSON400      *BadRequest
	JSON401      *Unauthenticated
	JSON403      *Unauthorized
	JSON500      *InternalServerError
}

func ParseUpdateWebhookResp

func ParseUpdateWebhookResp(rsp *http.Response) (*UpdateWebhookResp, error)

ParseUpdateWebhookResp parses an HTTP response from a UpdateWebhookWithResponse call

func (UpdateWebhookResp) Status

func (r UpdateWebhookResp) Status() string

Status returns HTTPResponse.Status

func (UpdateWebhookResp) StatusCode

func (r UpdateWebhookResp) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UpstreamConfig

type UpstreamConfig struct {
	Auth *UpstreamConfig_Auth `json:"auth,omitempty"`

	// AuthType Authentication type
	AuthType AuthType              `json:"authType"`
	Source   *UpstreamConfigSource `json:"source,omitempty"`
	Url      *string               `json:"url,omitempty"`
}

UpstreamConfig Configuration for Harness Artifact UpstreamProxies

type UpstreamConfigSource

type UpstreamConfigSource string

UpstreamConfigSource defines model for UpstreamConfig.Source.

const (
	Custom    UpstreamConfigSource = "Custom"
	Dockerhub UpstreamConfigSource = "Dockerhub"
)

Defines values for UpstreamConfigSource.

type UpstreamConfig_Auth

type UpstreamConfig_Auth struct {
	// contains filtered or unexported fields
}

UpstreamConfig_Auth defines model for UpstreamConfig.Auth.

func (UpstreamConfig_Auth) AsAnonymous

func (t UpstreamConfig_Auth) AsAnonymous() (Anonymous, error)

AsAnonymous returns the union data inside the UpstreamConfig_Auth as a Anonymous

func (UpstreamConfig_Auth) AsUserPassword

func (t UpstreamConfig_Auth) AsUserPassword() (UserPassword, error)

AsUserPassword returns the union data inside the UpstreamConfig_Auth as a UserPassword

func (*UpstreamConfig_Auth) FromAnonymous

func (t *UpstreamConfig_Auth) FromAnonymous(v Anonymous) error

FromAnonymous overwrites any union data inside the UpstreamConfig_Auth as the provided Anonymous

func (*UpstreamConfig_Auth) FromUserPassword

func (t *UpstreamConfig_Auth) FromUserPassword(v UserPassword) error

FromUserPassword overwrites any union data inside the UpstreamConfig_Auth as the provided UserPassword

func (UpstreamConfig_Auth) MarshalJSON

func (t UpstreamConfig_Auth) MarshalJSON() ([]byte, error)

func (*UpstreamConfig_Auth) MergeAnonymous

func (t *UpstreamConfig_Auth) MergeAnonymous(v Anonymous) error

MergeAnonymous performs a merge with any union data inside the UpstreamConfig_Auth, using the provided Anonymous

func (*UpstreamConfig_Auth) MergeUserPassword

func (t *UpstreamConfig_Auth) MergeUserPassword(v UserPassword) error

MergeUserPassword performs a merge with any union data inside the UpstreamConfig_Auth, using the provided UserPassword

func (*UpstreamConfig_Auth) UnmarshalJSON

func (t *UpstreamConfig_Auth) UnmarshalJSON(b []byte) error

type UserPassword

type UserPassword struct {
	SecretIdentifier *string `json:"secretIdentifier,omitempty"`
	SecretSpaceId    *int    `json:"secretSpaceId,omitempty"`
	SecretSpacePath  *string `json:"secretSpacePath,omitempty"`
	UserName         string  `json:"userName"`
}

UserPassword defines model for UserPassword.

type VersionParam

type VersionParam = string

VersionParam defines model for versionParam.

type VersionPathParam

type VersionPathParam = string

VersionPathParam defines model for versionPathParam.

type VirtualConfig

type VirtualConfig struct {
	UpstreamProxies *[]string `json:"upstreamProxies,omitempty"`
}

VirtualConfig Configuration for Harness Virtual Artifact Registries

type Webhook

type Webhook struct {
	CreatedAt    *string        `json:"createdAt,omitempty"`
	CreatedBy    *int64         `json:"createdBy,omitempty"`
	Description  *string        `json:"description,omitempty"`
	Enabled      bool           `json:"enabled"`
	ExtraHeaders *[]ExtraHeader `json:"extraHeaders,omitempty"`
	Identifier   string         `json:"identifier"`
	Insecure     bool           `json:"insecure"`
	Internal     *bool          `json:"internal,omitempty"`

	// LatestExecutionResult refers to webhook execution
	LatestExecutionResult *WebhookExecResult `json:"latestExecutionResult,omitempty"`
	ModifiedAt            *string            `json:"modifiedAt,omitempty"`
	Name                  string             `json:"name"`
	SecretIdentifier      *string            `json:"secretIdentifier,omitempty"`
	SecretSpaceId         *int64             `json:"secretSpaceId,omitempty"`
	SecretSpacePath       *string            `json:"secretSpacePath,omitempty"`
	Triggers              *[]Trigger         `json:"triggers,omitempty"`
	Url                   string             `json:"url"`
	Version               *int64             `json:"version,omitempty"`
}

Webhook Harness Regstries Webhook

type WebhookExecRequest

type WebhookExecRequest struct {
	Body    *string `json:"body,omitempty"`
	Headers *string `json:"headers,omitempty"`
	Url     *string `json:"url,omitempty"`
}

WebhookExecRequest Harness Regstries HTTP Webhook Request

type WebhookExecResponse

type WebhookExecResponse struct {
	Body       *string `json:"body,omitempty"`
	Headers    *string `json:"headers,omitempty"`
	Status     *string `json:"status,omitempty"`
	StatusCode *int    `json:"statusCode,omitempty"`
}

WebhookExecResponse Harness Regstries HTTP Webhook Response

type WebhookExecResult

type WebhookExecResult string

WebhookExecResult refers to webhook execution

const (
	WebhookExecResultFATALERROR     WebhookExecResult = "FATAL_ERROR"
	WebhookExecResultRETRIABLEERROR WebhookExecResult = "RETRIABLE_ERROR"
	WebhookExecResultSUCCESS        WebhookExecResult = "SUCCESS"
)

Defines values for WebhookExecResult.

type WebhookExecution

type WebhookExecution struct {
	Created  *int64  `json:"created,omitempty"`
	Duration *int64  `json:"duration,omitempty"`
	Error    *string `json:"error,omitempty"`
	Id       *int64  `json:"id,omitempty"`

	// Request Harness Regstries HTTP Webhook Request
	Request *WebhookExecRequest `json:"request,omitempty"`

	// Response Harness Regstries HTTP Webhook Response
	Response *WebhookExecResponse `json:"response,omitempty"`

	// Result refers to webhook execution
	Result        *WebhookExecResult `json:"result,omitempty"`
	RetriggerOf   *int64             `json:"retriggerOf,omitempty"`
	Retriggerable *bool              `json:"retriggerable,omitempty"`

	// TriggerType refers to trigger
	TriggerType *Trigger `json:"triggerType,omitempty"`
	WebhookId   *int64   `json:"webhookId,omitempty"`
}

WebhookExecution Harness Regstries Webhook Execution

type WebhookExecutionIdPathParam

type WebhookExecutionIdPathParam = string

WebhookExecutionIdPathParam defines model for webhookExecutionIdPathParam.

type WebhookExecutionResponse

type WebhookExecutionResponse struct {
	// Data Harness Regstries Webhook Execution
	Data WebhookExecution `json:"data"`

	// Status Indicates if the request was successful or not
	Status Status `json:"status"`
}

WebhookExecutionResponse defines model for WebhookExecutionResponse.

type WebhookIdentifierPathParam

type WebhookIdentifierPathParam = string

WebhookIdentifierPathParam defines model for webhookIdentifierPathParam.

type WebhookRequest

type WebhookRequest struct {
	Description      *string        `json:"description,omitempty"`
	Enabled          bool           `json:"enabled"`
	ExtraHeaders     *[]ExtraHeader `json:"extraHeaders,omitempty"`
	Identifier       string         `json:"identifier"`
	Insecure         bool           `json:"insecure"`
	Name             string         `json:"name"`
	SecretIdentifier *string        `json:"secretIdentifier,omitempty"`
	SecretSpaceId    *int64         `json:"secretSpaceId,omitempty"`
	SecretSpacePath  *string        `json:"secretSpacePath,omitempty"`
	Triggers         *[]Trigger     `json:"triggers,omitempty"`
	Url              string         `json:"url"`
}

WebhookRequest defines model for WebhookRequest.

type WebhookResponse

type WebhookResponse struct {
	// Data Harness Regstries Webhook
	Data Webhook `json:"data"`

	// Status Indicates if the request was successful or not
	Status Status `json:"status"`
}

WebhookResponse defines model for WebhookResponse.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL