Documentation ¶
Overview ¶
+kubebuilder:object:generate=true +groupName=application.jet-palette.upbound.io +versionName=v1alpha1
Index ¶
- Constants
- Variables
- type ManifestObservation
- type ManifestParameters
- type PackObservation
- type PackParameters
- type Profile
- func (in *Profile) DeepCopy() *Profile
- func (in *Profile) DeepCopyInto(out *Profile)
- func (in *Profile) DeepCopyObject() runtime.Object
- func (mg *Profile) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *Profile) GetConnectionDetailsMapping() map[string]string
- func (mg *Profile) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *Profile) GetID() string
- func (tr *Profile) GetObservation() (map[string]any, error)
- func (tr *Profile) GetParameters() (map[string]any, error)
- func (mg *Profile) GetProviderConfigReference() *xpv1.Reference
- func (mg *Profile) GetProviderReference() *xpv1.Reference
- func (mg *Profile) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *Profile) GetTerraformResourceType() string
- func (tr *Profile) GetTerraformSchemaVersion() int
- func (mg *Profile) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *Profile) LateInitialize(attrs []byte) (bool, error)
- func (mg *Profile) SetConditions(c ...xpv1.Condition)
- func (mg *Profile) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (tr *Profile) SetObservation(obs map[string]any) error
- func (tr *Profile) SetParameters(params map[string]any) error
- func (mg *Profile) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Profile) SetProviderReference(r *xpv1.Reference)
- func (mg *Profile) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *Profile) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type ProfileList
- type ProfileObservation
- type ProfileParameters
- type ProfileSpec
- type ProfileStatus
Constants ¶
const ( CRDGroup = "application.jet-palette.upbound.io" CRDVersion = "v1alpha1" )
Package type metadata.
Variables ¶
var ( // CRDGroupVersion is the API Group Version used to register the objects CRDGroupVersion = schema.GroupVersion{Group: CRDGroup, Version: CRDVersion} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: CRDGroupVersion} // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme )
var ( Profile_Kind = "Profile" Profile_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Profile_Kind}.String() Profile_KindAPIVersion = Profile_Kind + "." + CRDGroupVersion.String() Profile_GroupVersionKind = CRDGroupVersion.WithKind(Profile_Kind) )
Repository type metadata.
Functions ¶
This section is empty.
Types ¶
type ManifestObservation ¶
type ManifestObservation struct {
UID *string `json:"uid,omitempty" tf:"uid,omitempty"`
}
func (*ManifestObservation) DeepCopy ¶
func (in *ManifestObservation) DeepCopy() *ManifestObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManifestObservation.
func (*ManifestObservation) DeepCopyInto ¶
func (in *ManifestObservation) DeepCopyInto(out *ManifestObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ManifestParameters ¶
type ManifestParameters struct { // The content of the manifest. // +kubebuilder:validation:Required Content *string `json:"content" tf:"content,omitempty"` // The name of the manifest. // +kubebuilder:validation:Required Name *string `json:"name" tf:"name,omitempty"` }
func (*ManifestParameters) DeepCopy ¶
func (in *ManifestParameters) DeepCopy() *ManifestParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManifestParameters.
func (*ManifestParameters) DeepCopyInto ¶
func (in *ManifestParameters) DeepCopyInto(out *ManifestParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PackObservation ¶
type PackObservation struct { // The manifest of the pack. // +kubebuilder:validation:Optional Manifest []ManifestObservation `json:"manifest,omitempty" tf:"manifest,omitempty"` }
func (*PackObservation) DeepCopy ¶
func (in *PackObservation) DeepCopy() *PackObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PackObservation.
func (*PackObservation) DeepCopyInto ¶
func (in *PackObservation) DeepCopyInto(out *PackObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PackParameters ¶
type PackParameters struct { // The installation priority order of the app profile. The order of priority goes from lowest number to highest number. For example, a value of `-3` would be installed before an app profile with a higher number value. No upper and lower limits exist, and you may specify positive and negative integers. The default value is `0`. // +kubebuilder:validation:Optional InstallOrder *float64 `json:"installOrder,omitempty" tf:"install_order,omitempty"` // The manifest of the pack. // +kubebuilder:validation:Optional Manifest []ManifestParameters `json:"manifest,omitempty" tf:"manifest,omitempty"` // The name of the specified pack. // +kubebuilder:validation:Required Name *string `json:"name" tf:"name,omitempty"` // The various properties required by different database tiers eg: `databaseName` and `databaseVolumeSize` size for Redis etc. // +kubebuilder:validation:Optional Properties map[string]*string `json:"properties,omitempty" tf:"properties,omitempty"` // The unique id of the registry to be used for the pack. // +kubebuilder:validation:Optional RegistryUID *string `json:"registryUid,omitempty" tf:"registry_uid,omitempty"` // The unique id of the pack to be used as the source for the pack. // +kubebuilder:validation:Optional SourceAppTier *string `json:"sourceAppTier,omitempty" tf:"source_app_tier,omitempty"` // The identifier or version to label the pack. // +kubebuilder:validation:Optional Tag *string `json:"tag,omitempty" tf:"tag,omitempty"` // The type of Pack. Allowed values are `container`, `helm`, `manifest`, or `operator-instance`. // +kubebuilder:validation:Optional Type *string `json:"type,omitempty" tf:"type,omitempty"` // The unique id of the pack. This is a computed field and is not required to be set. // +kubebuilder:validation:Optional UID *string `json:"uid,omitempty" tf:"uid,omitempty"` // The values to be used for the pack. This is a stringified JSON object. // +kubebuilder:validation:Optional Values *string `json:"values,omitempty" tf:"values,omitempty"` }
func (*PackParameters) DeepCopy ¶
func (in *PackParameters) DeepCopy() *PackParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PackParameters.
func (*PackParameters) DeepCopyInto ¶
func (in *PackParameters) DeepCopyInto(out *PackParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Profile ¶
type Profile struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ProfileSpec `json:"spec"` Status ProfileStatus `json:"status,omitempty"` }
Profile is the Schema for the Profiles API. <no value> +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,jet-palette}
func (*Profile) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Profile.
func (*Profile) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Profile) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Profile) GetCondition ¶
func (mg *Profile) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this Profile.
func (*Profile) GetConnectionDetailsMapping ¶
GetConnectionDetailsMapping for this Profile
func (*Profile) GetDeletionPolicy ¶
func (mg *Profile) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this Profile.
func (*Profile) GetObservation ¶
GetObservation of this Profile
func (*Profile) GetParameters ¶
GetParameters of this Profile
func (*Profile) GetProviderConfigReference ¶
GetProviderConfigReference of this Profile.
func (*Profile) GetProviderReference ¶
GetProviderReference of this Profile. Deprecated: Use GetProviderConfigReference.
func (*Profile) GetPublishConnectionDetailsTo ¶
func (mg *Profile) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this Profile.
func (*Profile) GetTerraformResourceType ¶
GetTerraformResourceType returns Terraform resource type for this Profile
func (*Profile) GetTerraformSchemaVersion ¶
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*Profile) GetWriteConnectionSecretToReference ¶
func (mg *Profile) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this Profile.
func (*Profile) LateInitialize ¶
LateInitialize this Profile using its observed tfState. returns True if there are any spec changes for the resource.
func (*Profile) SetConditions ¶
SetConditions of this Profile.
func (*Profile) SetDeletionPolicy ¶
func (mg *Profile) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this Profile.
func (*Profile) SetObservation ¶
SetObservation for this Profile
func (*Profile) SetParameters ¶
SetParameters for this Profile
func (*Profile) SetProviderConfigReference ¶
SetProviderConfigReference of this Profile.
func (*Profile) SetProviderReference ¶
SetProviderReference of this Profile. Deprecated: Use SetProviderConfigReference.
func (*Profile) SetPublishConnectionDetailsTo ¶
func (mg *Profile) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this Profile.
func (*Profile) SetWriteConnectionSecretToReference ¶
func (mg *Profile) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this Profile.
type ProfileList ¶
type ProfileList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Profile `json:"items"` }
ProfileList contains a list of Profiles
func (*ProfileList) DeepCopy ¶
func (in *ProfileList) DeepCopy() *ProfileList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProfileList.
func (*ProfileList) DeepCopyInto ¶
func (in *ProfileList) DeepCopyInto(out *ProfileList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ProfileList) DeepCopyObject ¶
func (in *ProfileList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ProfileList) GetItems ¶
func (l *ProfileList) GetItems() []resource.Managed
GetItems of this ProfileList.
type ProfileObservation ¶
type ProfileObservation struct { ID *string `json:"id,omitempty" tf:"id,omitempty"` // A list of packs to be applied to the application profile. // +kubebuilder:validation:Required Pack []PackObservation `json:"pack,omitempty" tf:"pack,omitempty"` }
func (*ProfileObservation) DeepCopy ¶
func (in *ProfileObservation) DeepCopy() *ProfileObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProfileObservation.
func (*ProfileObservation) DeepCopyInto ¶
func (in *ProfileObservation) DeepCopyInto(out *ProfileObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ProfileParameters ¶
type ProfileParameters struct { // The cloud provider the profile is eligible for. Default value is `all`. // +kubebuilder:validation:Optional Cloud *string `json:"cloud,omitempty" tf:"cloud,omitempty"` // Context of the profile. Allowed values are `project`, `cluster`, or `namespace`. Default value is `project`. // +kubebuilder:validation:Optional Context *string `json:"context,omitempty" tf:"context,omitempty"` // Description of the profile. // +kubebuilder:validation:Optional Description *string `json:"description,omitempty" tf:"description,omitempty"` // A list of packs to be applied to the application profile. // +kubebuilder:validation:Required Pack []PackParameters `json:"pack" tf:"pack,omitempty"` // A list of tags to be applied to the application profile. Tags must be in the form of `key:value`. // +kubebuilder:validation:Optional Tags []*string `json:"tags,omitempty" tf:"tags,omitempty"` // Version of the profile. Default value is 1.0.0. // +kubebuilder:validation:Optional Version *string `json:"version,omitempty" tf:"version,omitempty"` }
func (*ProfileParameters) DeepCopy ¶
func (in *ProfileParameters) DeepCopy() *ProfileParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProfileParameters.
func (*ProfileParameters) DeepCopyInto ¶
func (in *ProfileParameters) DeepCopyInto(out *ProfileParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ProfileSpec ¶
type ProfileSpec struct { v1.ResourceSpec `json:",inline"` ForProvider ProfileParameters `json:"forProvider"` }
ProfileSpec defines the desired state of Profile
func (*ProfileSpec) DeepCopy ¶
func (in *ProfileSpec) DeepCopy() *ProfileSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProfileSpec.
func (*ProfileSpec) DeepCopyInto ¶
func (in *ProfileSpec) DeepCopyInto(out *ProfileSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ProfileStatus ¶
type ProfileStatus struct { v1.ResourceStatus `json:",inline"` AtProvider ProfileObservation `json:"atProvider,omitempty"` }
ProfileStatus defines the observed state of Profile.
func (*ProfileStatus) DeepCopy ¶
func (in *ProfileStatus) DeepCopy() *ProfileStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProfileStatus.
func (*ProfileStatus) DeepCopyInto ¶
func (in *ProfileStatus) DeepCopyInto(out *ProfileStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.