lifecycle

package
v12.5.1 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2024 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ReleaseBundleV2Endpoint        = "lifecycle/api/v2/release_bundle"
	ReleaseBundleV2VersionEndpoint = "lifecycle/api/v2/release_bundle/records/{name}/{version}"
)
View Source
const (
	ReleaseBundleV2PromotionEndpoint        = "/lifecycle/api/v2/promotion/records/{name}/{version}"
	ReleaseBundleV2PromotionDetailsEndpoint = "/lifecycle/api/v2/promotion/records/{name}/{version}/{created}"
)

Variables

This section is empty.

Functions

func NewReleaseBundleV2PromotionResource

func NewReleaseBundleV2PromotionResource() resource.Resource

func NewReleaseBundleV2Resource

func NewReleaseBundleV2Resource() resource.Resource

Types

type ReleaseBundleV2GetAPIModel

type ReleaseBundleV2GetAPIModel struct {
	ServiceID string `json:"service_id"`
	CreatedBy string `json:"created_by"`
	Created   string `json:"created"`
}

type ReleaseBundleV2PromotionGetAPIModel

type ReleaseBundleV2PromotionGetAPIModel struct {
	Environment   string `json:"environment"`
	Created       string `json:"created"`
	CreatedMillis int64  `json:"created_millis"`
}

type ReleaseBundleV2PromotionPostRequestAPIModel

type ReleaseBundleV2PromotionPostRequestAPIModel struct {
	Environment            string   `json:"environment"`
	IncludedRepositoryKeys []string `json:"included_repository_keys,omitempty"`
	ExcludedRepositoryKeys []string `json:"excluded_repository_keys,omitempty"`
}

type ReleaseBundleV2PromotionPostResponseAPIModel

type ReleaseBundleV2PromotionPostResponseAPIModel struct {
	Created       string `json:"created"`
	CreatedMillis int64  `json:"created_millis"`
}

type ReleaseBundleV2PromotionResource

type ReleaseBundleV2PromotionResource struct {
	ProviderData util.ProviderMetadata
	TypeName     string
}

func (*ReleaseBundleV2PromotionResource) Configure

func (*ReleaseBundleV2PromotionResource) Create

func (*ReleaseBundleV2PromotionResource) Delete

func (*ReleaseBundleV2PromotionResource) Metadata

func (*ReleaseBundleV2PromotionResource) Read

func (*ReleaseBundleV2PromotionResource) Schema

func (*ReleaseBundleV2PromotionResource) Update

type ReleaseBundleV2PromotionResourceModel

type ReleaseBundleV2PromotionResourceModel struct {
	Name                   types.String `tfsdk:"name"`
	Version                types.String `tfsdk:"version"`
	KeyPairName            types.String `tfsdk:"keypair_name"`
	ProjectKey             types.String `tfsdk:"project_key"`
	Environment            types.String `tfsdk:"environment"`
	IncludedRepositoryKeys types.Set    `tfsdk:"included_repository_keys"`
	ExcludedRepositoryKeys types.Set    `tfsdk:"excluded_repository_keys"`
	Created                types.String `tfsdk:"created"`
	CreatedMillis          types.Int64  `tfsdk:"created_millis"`
}

type ReleaseBundleV2RequestAPIModel

type ReleaseBundleV2RequestAPIModel struct {
	Name                         string                        `json:"release_bundle_name"`
	Version                      string                        `json:"release_bundle_version"`
	SkipDockerManifestResolution bool                          `json:"skip_docker_manifest_resolution"`
	SourceType                   string                        `json:"source_type"`
	Source                       ReleaseBundleV2SourceAPIModel `json:"source"`
}

type ReleaseBundleV2Resource

type ReleaseBundleV2Resource struct {
	ProviderData util.ProviderMetadata
	TypeName     string
}

func (*ReleaseBundleV2Resource) Configure

func (*ReleaseBundleV2Resource) Create

func (*ReleaseBundleV2Resource) Delete

func (*ReleaseBundleV2Resource) Metadata

func (*ReleaseBundleV2Resource) Read

func (*ReleaseBundleV2Resource) Schema

func (*ReleaseBundleV2Resource) Update

func (ReleaseBundleV2Resource) ValidateConfig

type ReleaseBundleV2ResourceModel

type ReleaseBundleV2ResourceModel struct {
	Name                         types.String `tfsdk:"name"`
	Version                      types.String `tfsdk:"version"`
	KeyPairName                  types.String `tfsdk:"keypair_name"`
	ProjectKey                   types.String `tfsdk:"project_key"`
	SkipDockerManifestResolution types.Bool   `tfsdk:"skip_docker_manifest_resolution"`
	SourceType                   types.String `tfsdk:"source_type"`
	Source                       types.Object `tfsdk:"source"`
	Created                      types.String `tfsdk:"created"`
	CreatedBy                    types.String `tfsdk:"created_by"`
	ServiceID                    types.String `tfsdk:"service_id"`
}

type ReleaseBundleV2ResponseAPIModel

type ReleaseBundleV2ResponseAPIModel struct {
	RepositoryKey string `json:"repository_key"`
	Name          string `json:"release_bundle_name"`
	Version       string `json:"release_bundle_version"`
	Created       string `json:"created"`
}

type ReleaseBundleV2SourceAPIModel

type ReleaseBundleV2SourceAPIModel struct {
	AQL            string                                       `json:"aql,omitempty"`
	Artifacts      []ReleaseBundleV2SourceArtifactAPIModel      `json:"artifacts,omitempty"`
	Builds         []ReleaseBundleV2SourceBuildAPIModel         `json:"builds,omitempty"`
	ReleaseBundles []ReleaseBundleV2SourceReleaseBundleAPIModel `json:"release_bundles,omitempty"`
}

type ReleaseBundleV2SourceArtifactAPIModel

type ReleaseBundleV2SourceArtifactAPIModel struct {
	Path   string `json:"path"`
	SHA256 string `json:"sha256,omitempty"`
}

type ReleaseBundleV2SourceBuildAPIModel

type ReleaseBundleV2SourceBuildAPIModel struct {
	Repository          string `json:"build_repository,omitempty"`
	Name                string `json:"build_name"`
	Number              string `json:"build_number"`
	Started             string `json:"build_started,omitempty"`
	IncludeDependencies bool   `json:"include_dependencies"`
}

type ReleaseBundleV2SourceReleaseBundleAPIModel

type ReleaseBundleV2SourceReleaseBundleAPIModel struct {
	ProjectKey           string `json:"project_key,omitempty"`
	RepositoryKey        string `json:"repository_key,omitempty"`
	ReleaseBundleName    string `json:"release_bundle_name"`
	ReleaseBundleVersion string `json:"release_bundle_version"`
}

Jump to

Keyboard shortcuts

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