Documentation ¶
Overview ¶
Package v1beta1 contains API Schema definitions for the appstudio v1beta1 API group +kubebuilder:object:generate=true +groupName=appstudio.redhat.com
Index ¶
- Variables
- type DeploymentTargetClaimConfig
- type DeprecatedEnvironmentConfiguration
- type DeprecatedEnvironmentType
- type EnvVarPair
- type EnvironmentTarget
- type IntegrationTestScenario
- func (dst *IntegrationTestScenario) ConvertFrom(srcRaw conversion.Hub) error
- func (src *IntegrationTestScenario) ConvertTo(dstRaw conversion.Hub) error
- func (in *IntegrationTestScenario) DeepCopy() *IntegrationTestScenario
- func (in *IntegrationTestScenario) DeepCopyInto(out *IntegrationTestScenario)
- func (in *IntegrationTestScenario) DeepCopyObject() runtime.Object
- func (r *IntegrationTestScenario) SetupWebhookWithManager(mgr ctrl.Manager) error
- type IntegrationTestScenarioList
- type IntegrationTestScenarioSpec
- type IntegrationTestScenarioStatus
- type PipelineParameter
- type ResolverParameter
- type ResolverRef
- type TestContext
- type TestEnvironment
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "appstudio.redhat.com", Version: "v1beta1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion} // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme )
Functions ¶
This section is empty.
Types ¶
type DeploymentTargetClaimConfig ¶
type DeploymentTargetClaimConfig struct {
ClaimName string `json:"claimName"`
}
DeploymentTargetClaimConfig specifies the DeploymentTargetClaim details for a given Environment.
func (*DeploymentTargetClaimConfig) DeepCopy ¶
func (in *DeploymentTargetClaimConfig) DeepCopy() *DeploymentTargetClaimConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeploymentTargetClaimConfig.
func (*DeploymentTargetClaimConfig) DeepCopyInto ¶
func (in *DeploymentTargetClaimConfig) DeepCopyInto(out *DeploymentTargetClaimConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DeprecatedEnvironmentConfiguration ¶
type DeprecatedEnvironmentConfiguration struct { // Env is an array of standard environment variables Env []EnvVarPair `json:"env,omitempty"` // Target is used to reference a DeploymentTargetClaim for a target Environment. // The Environment controller uses the referenced DeploymentTargetClaim to access its bounded // DeploymentTarget with cluster credential secret. Target EnvironmentTarget `json:"target,omitempty"` }
EnvironmentConfiguration contains Environment-specific configurations details, to be used when generating Component/Application GitOps repository resources.
func (*DeprecatedEnvironmentConfiguration) DeepCopy ¶
func (in *DeprecatedEnvironmentConfiguration) DeepCopy() *DeprecatedEnvironmentConfiguration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DeprecatedEnvironmentConfiguration.
func (*DeprecatedEnvironmentConfiguration) DeepCopyInto ¶
func (in *DeprecatedEnvironmentConfiguration) DeepCopyInto(out *DeprecatedEnvironmentConfiguration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DeprecatedEnvironmentType ¶
type DeprecatedEnvironmentType string
DEPRECATED: EnvironmentType should no longer be used, and has no replacement. - It's original purpose was to indicate whether an environment is POC/Non-POC, but these data were ultimately not required.
const ( // DEPRECATED: EnvironmentType_POC should no longer be used, and has no replacement. EnvironmentType_POC DeprecatedEnvironmentType = "POC" // DEPRECATED: EnvironmentType_NonPOC should no longer be used, and has no replacement. EnvironmentType_NonPOC DeprecatedEnvironmentType = "Non-POC" )
type EnvVarPair ¶
type EnvVarPair struct { // Name is the environment variable name Name string `json:"name"` // Value is the environment variable value Value string `json:"value"` }
EnvVarPair describes environment variables to use for the component
func (*EnvVarPair) DeepCopy ¶
func (in *EnvVarPair) DeepCopy() *EnvVarPair
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnvVarPair.
func (*EnvVarPair) DeepCopyInto ¶
func (in *EnvVarPair) DeepCopyInto(out *EnvVarPair)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EnvironmentTarget ¶
type EnvironmentTarget struct {
DeploymentTargetClaim DeploymentTargetClaimConfig `json:"deploymentTargetClaim"`
}
EnvironmentTarget provides the configuration for a deployment target.
func (*EnvironmentTarget) DeepCopy ¶
func (in *EnvironmentTarget) DeepCopy() *EnvironmentTarget
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EnvironmentTarget.
func (*EnvironmentTarget) DeepCopyInto ¶
func (in *EnvironmentTarget) DeepCopyInto(out *EnvironmentTarget)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IntegrationTestScenario ¶
type IntegrationTestScenario struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec IntegrationTestScenarioSpec `json:"spec,omitempty"` Status IntegrationTestScenarioStatus `json:"status,omitempty"` }
IntegrationTestScenario is the Schema for the integrationtestscenarios API
func (*IntegrationTestScenario) ConvertFrom ¶
func (dst *IntegrationTestScenario) ConvertFrom(srcRaw conversion.Hub) error
func (*IntegrationTestScenario) ConvertTo ¶
func (src *IntegrationTestScenario) ConvertTo(dstRaw conversion.Hub) error
Hub marks this type as a conversion hub. ConvertTo converts this ITS to the Hub version (v1beta2).
func (*IntegrationTestScenario) DeepCopy ¶
func (in *IntegrationTestScenario) DeepCopy() *IntegrationTestScenario
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IntegrationTestScenario.
func (*IntegrationTestScenario) DeepCopyInto ¶
func (in *IntegrationTestScenario) DeepCopyInto(out *IntegrationTestScenario)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*IntegrationTestScenario) DeepCopyObject ¶
func (in *IntegrationTestScenario) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*IntegrationTestScenario) SetupWebhookWithManager ¶
func (r *IntegrationTestScenario) SetupWebhookWithManager(mgr ctrl.Manager) error
type IntegrationTestScenarioList ¶
type IntegrationTestScenarioList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []IntegrationTestScenario `json:"items"` }
IntegrationTestScenarioList contains a list of IntegrationTestScenario
func (*IntegrationTestScenarioList) DeepCopy ¶
func (in *IntegrationTestScenarioList) DeepCopy() *IntegrationTestScenarioList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IntegrationTestScenarioList.
func (*IntegrationTestScenarioList) DeepCopyInto ¶
func (in *IntegrationTestScenarioList) DeepCopyInto(out *IntegrationTestScenarioList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*IntegrationTestScenarioList) DeepCopyObject ¶
func (in *IntegrationTestScenarioList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type IntegrationTestScenarioSpec ¶
type IntegrationTestScenarioSpec struct { // Application that's associated with the IntegrationTestScenario // +kubebuilder:validation:Pattern=^[a-z0-9]([-a-z0-9]*[a-z0-9])?$ // +required Application string `json:"application"` // Tekton Resolver where to store the Tekton resolverRef trigger Tekton pipeline used to refer to a Pipeline or Task in a remote location like a git repo. // +required ResolverRef ResolverRef `json:"resolverRef"` // Params to pass to the pipeline Params []PipelineParameter `json:"params,omitempty"` // Environment that will be utilized by the test pipeline Environment TestEnvironment `json:"environment,omitempty"` // Contexts where this IntegrationTestScenario can be applied Contexts []TestContext `json:"contexts,omitempty"` }
IntegrationTestScenarioSpec defines the desired state of IntegrationScenario
func (*IntegrationTestScenarioSpec) DeepCopy ¶
func (in *IntegrationTestScenarioSpec) DeepCopy() *IntegrationTestScenarioSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IntegrationTestScenarioSpec.
func (*IntegrationTestScenarioSpec) DeepCopyInto ¶
func (in *IntegrationTestScenarioSpec) DeepCopyInto(out *IntegrationTestScenarioSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type IntegrationTestScenarioStatus ¶
IntegrationTestScenarioStatus defines the observed state of IntegrationTestScenario
func (*IntegrationTestScenarioStatus) DeepCopy ¶
func (in *IntegrationTestScenarioStatus) DeepCopy() *IntegrationTestScenarioStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new IntegrationTestScenarioStatus.
func (*IntegrationTestScenarioStatus) DeepCopyInto ¶
func (in *IntegrationTestScenarioStatus) DeepCopyInto(out *IntegrationTestScenarioStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PipelineParameter ¶
type PipelineParameter struct { Name string `json:"name"` Value string `json:"value,omitempty"` Values []string `json:"values,omitempty"` }
PipelineParameter contains the name and values of a Tekton Pipeline parameter
func (*PipelineParameter) DeepCopy ¶
func (in *PipelineParameter) DeepCopy() *PipelineParameter
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PipelineParameter.
func (*PipelineParameter) DeepCopyInto ¶
func (in *PipelineParameter) DeepCopyInto(out *PipelineParameter)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ResolverParameter ¶
ResolverParameter contains the name and values used to identify the referenced Tekton resource
func (*ResolverParameter) DeepCopy ¶
func (in *ResolverParameter) DeepCopy() *ResolverParameter
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResolverParameter.
func (*ResolverParameter) DeepCopyInto ¶
func (in *ResolverParameter) DeepCopyInto(out *ResolverParameter)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ResolverRef ¶
type ResolverRef struct { // Resolver is the name of the resolver that should perform resolution of the referenced Tekton resource, such as "git" or "bundle".. // +required Resolver string `json:"resolver"` // Params contains the parameters used to identify the // referenced Tekton resource. Example entries might include // "repo" or "path" but the set of params ultimately depends on // the chosen resolver. // +required Params []ResolverParameter `json:"params"` }
Tekton Resolver where to store the Tekton resolverRef trigger Tekton pipeline used to refer to a Pipeline or Task in a remote location like a git repo. +required
func (*ResolverRef) DeepCopy ¶
func (in *ResolverRef) DeepCopy() *ResolverRef
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResolverRef.
func (*ResolverRef) DeepCopyInto ¶
func (in *ResolverRef) DeepCopyInto(out *ResolverRef)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TestContext ¶
type TestContext struct { Name string `json:"name"` Description string `json:"description,omitempty"` }
TestContext contains the name and values of a Test context
func (*TestContext) DeepCopy ¶
func (in *TestContext) DeepCopy() *TestContext
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TestContext.
func (*TestContext) DeepCopyInto ¶
func (in *TestContext) DeepCopyInto(out *TestContext)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TestEnvironment ¶
type TestEnvironment struct { Name string `json:"name"` Type DeprecatedEnvironmentType `json:"type"` Configuration *DeprecatedEnvironmentConfiguration `json:"configuration,omitempty"` }
TestEnvironment contains the name and values of a Test environment
func (*TestEnvironment) DeepCopy ¶
func (in *TestEnvironment) DeepCopy() *TestEnvironment
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TestEnvironment.
func (*TestEnvironment) DeepCopyInto ¶
func (in *TestEnvironment) DeepCopyInto(out *TestEnvironment)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.