Documentation ¶
Index ¶
- Constants
- func NewReleaseBundleV2PromotionResource() resource.Resource
- func NewReleaseBundleV2Resource() resource.Resource
- type ReleaseBundleV2GetAPIModel
- type ReleaseBundleV2PromotionGetAPIModel
- type ReleaseBundleV2PromotionPostRequestAPIModel
- type ReleaseBundleV2PromotionPostResponseAPIModel
- type ReleaseBundleV2PromotionResource
- func (r *ReleaseBundleV2PromotionResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *ReleaseBundleV2PromotionResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *ReleaseBundleV2PromotionResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *ReleaseBundleV2PromotionResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *ReleaseBundleV2PromotionResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *ReleaseBundleV2PromotionResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *ReleaseBundleV2PromotionResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type ReleaseBundleV2PromotionResourceModel
- type ReleaseBundleV2RequestAPIModel
- type ReleaseBundleV2Resource
- func (r *ReleaseBundleV2Resource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *ReleaseBundleV2Resource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *ReleaseBundleV2Resource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *ReleaseBundleV2Resource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *ReleaseBundleV2Resource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *ReleaseBundleV2Resource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *ReleaseBundleV2Resource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- func (r ReleaseBundleV2Resource) ValidateConfig(ctx context.Context, req resource.ValidateConfigRequest, ...)
- type ReleaseBundleV2ResourceModel
- type ReleaseBundleV2ResponseAPIModel
- type ReleaseBundleV2SourceAPIModel
- type ReleaseBundleV2SourceArtifactAPIModel
- type ReleaseBundleV2SourceBuildAPIModel
- type ReleaseBundleV2SourceReleaseBundleAPIModel
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 ¶
Types ¶
type ReleaseBundleV2PromotionResource ¶
type ReleaseBundleV2PromotionResource struct { ProviderData util.ProviderMetadata TypeName string }
func (*ReleaseBundleV2PromotionResource) Configure ¶
func (r *ReleaseBundleV2PromotionResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*ReleaseBundleV2PromotionResource) Create ¶
func (r *ReleaseBundleV2PromotionResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*ReleaseBundleV2PromotionResource) Delete ¶
func (r *ReleaseBundleV2PromotionResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*ReleaseBundleV2PromotionResource) Metadata ¶
func (r *ReleaseBundleV2PromotionResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*ReleaseBundleV2PromotionResource) Read ¶
func (r *ReleaseBundleV2PromotionResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*ReleaseBundleV2PromotionResource) Schema ¶
func (r *ReleaseBundleV2PromotionResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*ReleaseBundleV2PromotionResource) Update ¶
func (r *ReleaseBundleV2PromotionResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
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 (r *ReleaseBundleV2Resource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*ReleaseBundleV2Resource) Create ¶
func (r *ReleaseBundleV2Resource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*ReleaseBundleV2Resource) Delete ¶
func (r *ReleaseBundleV2Resource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*ReleaseBundleV2Resource) Metadata ¶
func (r *ReleaseBundleV2Resource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*ReleaseBundleV2Resource) Read ¶
func (r *ReleaseBundleV2Resource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*ReleaseBundleV2Resource) Schema ¶
func (r *ReleaseBundleV2Resource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*ReleaseBundleV2Resource) Update ¶
func (r *ReleaseBundleV2Resource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
func (ReleaseBundleV2Resource) ValidateConfig ¶
func (r ReleaseBundleV2Resource) ValidateConfig(ctx context.Context, req resource.ValidateConfigRequest, resp *resource.ValidateConfigResponse)
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 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"` }
Click to show internal directories.
Click to hide internal directories.