Documentation ¶
Overview ¶
Package v1alpha1 contains the v1alpha1 group Sample resources of the Upbound provider. +kubebuilder:object:generate=true +groupName=mcp.upbound.io +versionName=v1alpha1
Index ¶
- Constants
- Variables
- type ConfigurationStatus
- type ControlPlane
- func (in *ControlPlane) DeepCopy() *ControlPlane
- func (in *ControlPlane) DeepCopyInto(out *ControlPlane)
- func (in *ControlPlane) DeepCopyObject() runtime.Object
- func (mg *ControlPlane) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (mg *ControlPlane) GetDeletionPolicy() xpv1.DeletionPolicy
- func (mg *ControlPlane) GetManagementPolicies() xpv1.ManagementPolicies
- func (mg *ControlPlane) GetProviderConfigReference() *xpv1.Reference
- func (mg *ControlPlane) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *ControlPlane) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (mg *ControlPlane) SetConditions(c ...xpv1.Condition)
- func (mg *ControlPlane) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *ControlPlane) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (mg *ControlPlane) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *ControlPlane) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *ControlPlane) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type ControlPlaneAuth
- func (in *ControlPlaneAuth) DeepCopy() *ControlPlaneAuth
- func (in *ControlPlaneAuth) DeepCopyInto(out *ControlPlaneAuth)
- func (in *ControlPlaneAuth) DeepCopyObject() runtime.Object
- func (mg *ControlPlaneAuth) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (mg *ControlPlaneAuth) GetDeletionPolicy() xpv1.DeletionPolicy
- func (mg *ControlPlaneAuth) GetManagementPolicies() xpv1.ManagementPolicies
- func (mg *ControlPlaneAuth) GetProviderConfigReference() *xpv1.Reference
- func (mg *ControlPlaneAuth) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *ControlPlaneAuth) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (mg *ControlPlaneAuth) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *ControlPlaneAuth) SetConditions(c ...xpv1.Condition)
- func (mg *ControlPlaneAuth) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *ControlPlaneAuth) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (mg *ControlPlaneAuth) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *ControlPlaneAuth) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *ControlPlaneAuth) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type ControlPlaneAuthList
- type ControlPlaneAuthObservation
- type ControlPlaneAuthParameters
- type ControlPlaneAuthSpec
- type ControlPlaneAuthStatus
- type ControlPlaneConfiguration
- type ControlPlaneList
- type ControlPlaneObs
- type ControlPlaneParameters
- type ControlPlanePermission
- func (in *ControlPlanePermission) DeepCopy() *ControlPlanePermission
- func (in *ControlPlanePermission) DeepCopyInto(out *ControlPlanePermission)
- func (in *ControlPlanePermission) DeepCopyObject() runtime.Object
- func (mg *ControlPlanePermission) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (mg *ControlPlanePermission) GetDeletionPolicy() xpv1.DeletionPolicy
- func (mg *ControlPlanePermission) GetManagementPolicies() xpv1.ManagementPolicies
- func (mg *ControlPlanePermission) GetProviderConfigReference() *xpv1.Reference
- func (mg *ControlPlanePermission) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *ControlPlanePermission) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (mg *ControlPlanePermission) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *ControlPlanePermission) SetConditions(c ...xpv1.Condition)
- func (mg *ControlPlanePermission) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *ControlPlanePermission) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (mg *ControlPlanePermission) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *ControlPlanePermission) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *ControlPlanePermission) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type ControlPlanePermissionList
- type ControlPlanePermissionObservation
- type ControlPlanePermissionParameters
- type ControlPlanePermissionSpec
- type ControlPlanePermissionStatus
- type ControlPlaneResponse
- type ControlPlaneSpec
- type ControlPlaneStatus
- type PermissionGroup
- type Status
Constants ¶
const ( Group = "mcp.upbound.io" Version = "v1alpha1" )
Package type metadata.
Variables ¶
var ( ControlPlaneKind = reflect.TypeOf(ControlPlane{}).Name() ControlPlaneGroupKind = schema.GroupKind{Group: Group, Kind: ControlPlaneKind}.String() ControlPlaneKindAPIVersion = ControlPlaneKind + "." + SchemeGroupVersion.String() ControlPlaneGroupVersionKind = SchemeGroupVersion.WithKind(ControlPlaneKind) )
ControlPlane type metadata.
var ( ControlPlaneAuthKind = reflect.TypeOf(ControlPlaneAuth{}).Name() ControlPlaneAuthGroupKind = schema.GroupKind{Group: Group, Kind: ControlPlaneAuthKind}.String() ControlPlaneAuthKindAPIVersion = ControlPlaneAuthKind + "." + SchemeGroupVersion.String() ControlPlaneAuthGroupVersionKind = SchemeGroupVersion.WithKind(ControlPlaneAuthKind) )
ControlPlaneAuth type metadata.
var ( ControlPlanePermissionKind = reflect.TypeOf(ControlPlanePermission{}).Name() ControlPlanePermissionGroupKind = schema.GroupKind{Group: Group, Kind: ControlPlanePermissionKind}.String() ControlPlanePermissionKindAPIVersion = ControlPlanePermissionKind + "." + SchemeGroupVersion.String() ControlPlanePermissionGroupVersionKind = SchemeGroupVersion.WithKind(ControlPlanePermissionKind) )
ControlPlanePermission type metadata.
var ( // SchemeGroupVersion is group version used to register these objects SchemeGroupVersion = schema.GroupVersion{Group: Group, Version: Version} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion} )
Functions ¶
This section is empty.
Types ¶
type ConfigurationStatus ¶ added in v0.2.0
type ConfigurationStatus string
ConfigurationStatus represents the different states of a Configuration relative to a Managed Control Plane.
const ( // ConfigurationInstallationQueued means queued to begin installation in a Managed Control Plane ConfigurationInstallationQueued ConfigurationStatus = "installationQueued" // ConfigurationUpgradeQueued means queued to upgrade to a specified version in a Managed Control Plane ConfigurationUpgradeQueued ConfigurationStatus = "upgradeQueued" // ConfigurationInstalling means currently installing into the Managed Control Plane ConfigurationInstalling ConfigurationStatus = "installing" // ConfigurationReady means ready for use in the Managed Control Plane ConfigurationReady ConfigurationStatus = "ready" // ConfigurationUpgrading means currently upgrading to a specified version in the Managed Control Plane ConfigurationUpgrading ConfigurationStatus = "upgrading" )
type ControlPlane ¶ added in v0.2.0
type ControlPlane struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ControlPlaneSpec `json:"spec"` Status ControlPlaneStatus `json:"status,omitempty"` }
A ControlPlane is used to create a controlplane +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="CONFIGURATION-UP-TO-DATE",type="string",JSONPath=".status.atProvider.controlPlane.versionUpToDate" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="ID",type="string",JSONPath=".status.atProvider.controlPlane.id" +kubebuilder:printcolumn:name="DEPLOYED-CONFIGURATION",type="string",JSONPath=".status.atProvider.controlPlane.configuration.name" +kubebuilder:printcolumn:name="CONFIGURATION-STATUS",type="string",JSONPath=".status.atProvider.controlPlane.configuration.status" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,upbound}
func (*ControlPlane) DeepCopy ¶ added in v0.2.0
func (in *ControlPlane) DeepCopy() *ControlPlane
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ControlPlane.
func (*ControlPlane) DeepCopyInto ¶ added in v0.2.0
func (in *ControlPlane) DeepCopyInto(out *ControlPlane)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ControlPlane) DeepCopyObject ¶ added in v0.2.0
func (in *ControlPlane) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ControlPlane) GetCondition ¶ added in v0.2.0
func (mg *ControlPlane) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this ControlPlane.
func (*ControlPlane) GetDeletionPolicy ¶ added in v0.2.0
func (mg *ControlPlane) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this ControlPlane.
func (*ControlPlane) GetManagementPolicies ¶ added in v0.4.0
func (mg *ControlPlane) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this ControlPlane.
func (*ControlPlane) GetProviderConfigReference ¶ added in v0.2.0
func (mg *ControlPlane) GetProviderConfigReference() *xpv1.Reference
GetProviderConfigReference of this ControlPlane.
func (*ControlPlane) GetPublishConnectionDetailsTo ¶ added in v0.2.0
func (mg *ControlPlane) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this ControlPlane.
func (*ControlPlane) GetWriteConnectionSecretToReference ¶ added in v0.2.0
func (mg *ControlPlane) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this ControlPlane.
func (*ControlPlane) SetConditions ¶ added in v0.2.0
func (mg *ControlPlane) SetConditions(c ...xpv1.Condition)
SetConditions of this ControlPlane.
func (*ControlPlane) SetDeletionPolicy ¶ added in v0.2.0
func (mg *ControlPlane) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this ControlPlane.
func (*ControlPlane) SetManagementPolicies ¶ added in v0.4.0
func (mg *ControlPlane) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this ControlPlane.
func (*ControlPlane) SetProviderConfigReference ¶ added in v0.2.0
func (mg *ControlPlane) SetProviderConfigReference(r *xpv1.Reference)
SetProviderConfigReference of this ControlPlane.
func (*ControlPlane) SetPublishConnectionDetailsTo ¶ added in v0.2.0
func (mg *ControlPlane) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this ControlPlane.
func (*ControlPlane) SetWriteConnectionSecretToReference ¶ added in v0.2.0
func (mg *ControlPlane) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this ControlPlane.
type ControlPlaneAuth ¶ added in v0.2.0
type ControlPlaneAuth struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ControlPlaneAuthSpec `json:"spec"` Status ControlPlaneAuthStatus `json:"status,omitempty"` }
ControlPlaneAuth is used to retrieve Kubeconfig of given ControlPlane. +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,upbound}
func (*ControlPlaneAuth) DeepCopy ¶ added in v0.2.0
func (in *ControlPlaneAuth) DeepCopy() *ControlPlaneAuth
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ControlPlaneAuth.
func (*ControlPlaneAuth) DeepCopyInto ¶ added in v0.2.0
func (in *ControlPlaneAuth) DeepCopyInto(out *ControlPlaneAuth)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ControlPlaneAuth) DeepCopyObject ¶ added in v0.2.0
func (in *ControlPlaneAuth) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ControlPlaneAuth) GetCondition ¶ added in v0.2.0
func (mg *ControlPlaneAuth) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this ControlPlaneAuth.
func (*ControlPlaneAuth) GetDeletionPolicy ¶ added in v0.2.0
func (mg *ControlPlaneAuth) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this ControlPlaneAuth.
func (*ControlPlaneAuth) GetManagementPolicies ¶ added in v0.4.0
func (mg *ControlPlaneAuth) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this ControlPlaneAuth.
func (*ControlPlaneAuth) GetProviderConfigReference ¶ added in v0.2.0
func (mg *ControlPlaneAuth) GetProviderConfigReference() *xpv1.Reference
GetProviderConfigReference of this ControlPlaneAuth.
func (*ControlPlaneAuth) GetPublishConnectionDetailsTo ¶ added in v0.2.0
func (mg *ControlPlaneAuth) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this ControlPlaneAuth.
func (*ControlPlaneAuth) GetWriteConnectionSecretToReference ¶ added in v0.2.0
func (mg *ControlPlaneAuth) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this ControlPlaneAuth.
func (*ControlPlaneAuth) ResolveReferences ¶ added in v0.2.0
ResolveReferences of this ControlPlaneAuth.
func (*ControlPlaneAuth) SetConditions ¶ added in v0.2.0
func (mg *ControlPlaneAuth) SetConditions(c ...xpv1.Condition)
SetConditions of this ControlPlaneAuth.
func (*ControlPlaneAuth) SetDeletionPolicy ¶ added in v0.2.0
func (mg *ControlPlaneAuth) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this ControlPlaneAuth.
func (*ControlPlaneAuth) SetManagementPolicies ¶ added in v0.4.0
func (mg *ControlPlaneAuth) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this ControlPlaneAuth.
func (*ControlPlaneAuth) SetProviderConfigReference ¶ added in v0.2.0
func (mg *ControlPlaneAuth) SetProviderConfigReference(r *xpv1.Reference)
SetProviderConfigReference of this ControlPlaneAuth.
func (*ControlPlaneAuth) SetPublishConnectionDetailsTo ¶ added in v0.2.0
func (mg *ControlPlaneAuth) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this ControlPlaneAuth.
func (*ControlPlaneAuth) SetWriteConnectionSecretToReference ¶ added in v0.2.0
func (mg *ControlPlaneAuth) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this ControlPlaneAuth.
type ControlPlaneAuthList ¶ added in v0.2.0
type ControlPlaneAuthList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []ControlPlaneAuth `json:"items"` }
ControlPlaneAuthList contains a list of ControlPlaneAuths
func (*ControlPlaneAuthList) DeepCopy ¶ added in v0.2.0
func (in *ControlPlaneAuthList) DeepCopy() *ControlPlaneAuthList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ControlPlaneAuthList.
func (*ControlPlaneAuthList) DeepCopyInto ¶ added in v0.2.0
func (in *ControlPlaneAuthList) DeepCopyInto(out *ControlPlaneAuthList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ControlPlaneAuthList) DeepCopyObject ¶ added in v0.2.0
func (in *ControlPlaneAuthList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ControlPlaneAuthList) GetItems ¶ added in v0.2.0
func (l *ControlPlaneAuthList) GetItems() []resource.Managed
GetItems of this ControlPlaneAuthList.
type ControlPlaneAuthObservation ¶ added in v0.2.0
type ControlPlaneAuthObservation struct{}
func (*ControlPlaneAuthObservation) DeepCopy ¶ added in v0.2.0
func (in *ControlPlaneAuthObservation) DeepCopy() *ControlPlaneAuthObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ControlPlaneAuthObservation.
func (*ControlPlaneAuthObservation) DeepCopyInto ¶ added in v0.2.0
func (in *ControlPlaneAuthObservation) DeepCopyInto(out *ControlPlaneAuthObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ControlPlaneAuthParameters ¶ added in v0.2.0
type ControlPlaneAuthParameters struct { // ControlPlaneName is the name of the ControlPlane you'd like to fetch Kubeconfig of. // Either ControlPlaneName, ControlPlaneNameRef or ControlPlaneNameSelector has to be given. // +crossplane:generate:reference:type=ControlPlane ControlPlaneName string `json:"controlPlaneName,omitempty"` // Reference to a ControlPlane to populate controlPlaneName. // Either ControlPlaneName, ControlPlaneNameRef or ControlPlaneNameSelector has to be given. // +kubebuilder:validation:Optional ControlPlaneNameRef *v1.Reference `json:"controlPlaneNameRef,omitempty"` // Selector for a ControlPlane to populate controlPlaneName. // Either ClusterName, ClusterNameRef or ClusterNameSelector has to be given. // +kubebuilder:validation:Optional ControlPlaneNameSelector *v1.Selector `json:"controlPlaneNameSelector,omitempty"` // OrganizationName is the name of the organization to which the control plane // belongs. // +kubebuilder:validation:Required // +kubebuilder:validation:MinLength=1 OrganizationName string `json:"organizationName"` // A Token ConnectionSecret is referenced to serve as // the authentication token for a KubeConfig // +optional TokenSecretRef *xpv1.SecretKeySelector `json:"tokenSecretRef,omitempty"` }
func (*ControlPlaneAuthParameters) DeepCopy ¶ added in v0.2.0
func (in *ControlPlaneAuthParameters) DeepCopy() *ControlPlaneAuthParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ControlPlaneAuthParameters.
func (*ControlPlaneAuthParameters) DeepCopyInto ¶ added in v0.2.0
func (in *ControlPlaneAuthParameters) DeepCopyInto(out *ControlPlaneAuthParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ControlPlaneAuthSpec ¶ added in v0.2.0
type ControlPlaneAuthSpec struct { v1.ResourceSpec `json:",inline"` ForProvider ControlPlaneAuthParameters `json:"forProvider"` }
ControlPlaneAuthSpec defines the desired state of ControlPlaneAuth
func (*ControlPlaneAuthSpec) DeepCopy ¶ added in v0.2.0
func (in *ControlPlaneAuthSpec) DeepCopy() *ControlPlaneAuthSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ControlPlaneAuthSpec.
func (*ControlPlaneAuthSpec) DeepCopyInto ¶ added in v0.2.0
func (in *ControlPlaneAuthSpec) DeepCopyInto(out *ControlPlaneAuthSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ControlPlaneAuthStatus ¶ added in v0.2.0
type ControlPlaneAuthStatus struct { v1.ResourceStatus `json:",inline"` AtProvider ControlPlaneAuthObservation `json:"atProvider,omitempty"` }
ControlPlaneAuthStatus defines the observed state of ControlPlaneAuth.
func (*ControlPlaneAuthStatus) DeepCopy ¶ added in v0.2.0
func (in *ControlPlaneAuthStatus) DeepCopy() *ControlPlaneAuthStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ControlPlaneAuthStatus.
func (*ControlPlaneAuthStatus) DeepCopyInto ¶ added in v0.2.0
func (in *ControlPlaneAuthStatus) DeepCopyInto(out *ControlPlaneAuthStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ControlPlaneConfiguration ¶ added in v0.2.0
type ControlPlaneConfiguration struct { ID string `json:"id"` Name *string `json:"name,omitempty"` CurrentVersion *string `json:"currentVersion,omitempty"` DesiredVersion *string `json:"desiredVersion,omitempty"` LatestAvailableVersion *string `json:"latestAvailableVersion,omitempty"` Status ConfigurationStatus `json:"status"` SyncedAt *metav1.Time `json:"syncedAt,omitempty"` DeployedAt *metav1.Time `json:"deployedAt,omitempty"` }
ControlPlaneConfiguration represents an instance of a Configuration associated with a Managed Control Plane on Upbound.
func (*ControlPlaneConfiguration) DeepCopy ¶ added in v0.2.0
func (in *ControlPlaneConfiguration) DeepCopy() *ControlPlaneConfiguration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ControlPlaneConfiguration.
func (*ControlPlaneConfiguration) DeepCopyInto ¶ added in v0.2.0
func (in *ControlPlaneConfiguration) DeepCopyInto(out *ControlPlaneConfiguration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ControlPlaneList ¶ added in v0.2.0
type ControlPlaneList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []ControlPlane `json:"items"` }
ControlPlaneList contains a list of ControlPlane
func (*ControlPlaneList) DeepCopy ¶ added in v0.2.0
func (in *ControlPlaneList) DeepCopy() *ControlPlaneList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ControlPlaneList.
func (*ControlPlaneList) DeepCopyInto ¶ added in v0.2.0
func (in *ControlPlaneList) DeepCopyInto(out *ControlPlaneList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ControlPlaneList) DeepCopyObject ¶ added in v0.2.0
func (in *ControlPlaneList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ControlPlaneList) GetItems ¶ added in v0.2.0
func (l *ControlPlaneList) GetItems() []resource.Managed
GetItems of this ControlPlaneList.
type ControlPlaneObs ¶ added in v0.2.0
type ControlPlaneObs struct { ID string `json:"id,omitempty"` Name string `json:"name,omitempty"` Description string `json:"description,omitempty"` CreatorID uint `json:"creatorId,omitempty"` Reserved bool `json:"reserved"` CreatedAt *metav1.Time `json:"createdAt,omitempty"` UpdatedAt *metav1.Time `json:"updatedAt,omitempty"` VersionUpToDate *bool `json:"versionUpToDate,omitempty"` ExpiresAt metav1.Time `json:"expiresAt,omitempty"` Configuration *ControlPlaneConfiguration `json:"configuration,omitempty"` }
ControlPlane describes a control plane.
func (*ControlPlaneObs) DeepCopy ¶ added in v0.2.0
func (in *ControlPlaneObs) DeepCopy() *ControlPlaneObs
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ControlPlaneObs.
func (*ControlPlaneObs) DeepCopyInto ¶ added in v0.2.0
func (in *ControlPlaneObs) DeepCopyInto(out *ControlPlaneObs)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ControlPlaneParameters ¶ added in v0.2.0
type ControlPlaneParameters struct { // Description is the description of the the control plane Description *string `json:"description,omitempty"` // Configuration is the name of the predefined configuration // +kubebuilder:validation:Required // +kubebuilder:validation:MinLength=1 Configuration string `json:"configuration"` // OrganizationName is the name of the organization to which the control plane // belongs. // +kubebuilder:validation:Required // +kubebuilder:validation:MinLength=1 OrganizationName string `json:"organizationName"` // A value that indicates whether the configuration version update takes effect immediately. // // The AutoUpdate parameter specifically impacts the version value. // If the ApplyImmediately parameter is turned off, changes to the configuration require updating the version field. // // By default, this parameter is turned off. AutoUpdate *bool `json:"autoUpdate,omitempty"` // Version is the version of the control plane. // If it is nil, the last available version given by configuration will be used. // +optional Version *string `json:"version,omitempty"` }
ControlPlaneParameters are the configurable fields of a ControlPlane.
func (*ControlPlaneParameters) DeepCopy ¶ added in v0.2.0
func (in *ControlPlaneParameters) DeepCopy() *ControlPlaneParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ControlPlaneParameters.
func (*ControlPlaneParameters) DeepCopyInto ¶ added in v0.2.0
func (in *ControlPlaneParameters) DeepCopyInto(out *ControlPlaneParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ControlPlanePermission ¶
type ControlPlanePermission struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ControlPlanePermissionSpec `json:"spec"` Status ControlPlanePermissionStatus `json:"status,omitempty"` }
A ControlPlanePermission is used to grant control plane permissions to a team. +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,upbound}
func (*ControlPlanePermission) DeepCopy ¶
func (in *ControlPlanePermission) DeepCopy() *ControlPlanePermission
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ControlPlanePermission.
func (*ControlPlanePermission) DeepCopyInto ¶
func (in *ControlPlanePermission) DeepCopyInto(out *ControlPlanePermission)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ControlPlanePermission) DeepCopyObject ¶
func (in *ControlPlanePermission) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ControlPlanePermission) GetCondition ¶
func (mg *ControlPlanePermission) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this ControlPlanePermission.
func (*ControlPlanePermission) GetDeletionPolicy ¶
func (mg *ControlPlanePermission) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this ControlPlanePermission.
func (*ControlPlanePermission) GetManagementPolicies ¶ added in v0.4.0
func (mg *ControlPlanePermission) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this ControlPlanePermission.
func (*ControlPlanePermission) GetProviderConfigReference ¶
func (mg *ControlPlanePermission) GetProviderConfigReference() *xpv1.Reference
GetProviderConfigReference of this ControlPlanePermission.
func (*ControlPlanePermission) GetPublishConnectionDetailsTo ¶
func (mg *ControlPlanePermission) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this ControlPlanePermission.
func (*ControlPlanePermission) GetWriteConnectionSecretToReference ¶
func (mg *ControlPlanePermission) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this ControlPlanePermission.
func (*ControlPlanePermission) ResolveReferences ¶
ResolveReferences of this ControlPlanePermission.
func (*ControlPlanePermission) SetConditions ¶
func (mg *ControlPlanePermission) SetConditions(c ...xpv1.Condition)
SetConditions of this ControlPlanePermission.
func (*ControlPlanePermission) SetDeletionPolicy ¶
func (mg *ControlPlanePermission) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this ControlPlanePermission.
func (*ControlPlanePermission) SetManagementPolicies ¶ added in v0.4.0
func (mg *ControlPlanePermission) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this ControlPlanePermission.
func (*ControlPlanePermission) SetProviderConfigReference ¶
func (mg *ControlPlanePermission) SetProviderConfigReference(r *xpv1.Reference)
SetProviderConfigReference of this ControlPlanePermission.
func (*ControlPlanePermission) SetPublishConnectionDetailsTo ¶
func (mg *ControlPlanePermission) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this ControlPlanePermission.
func (*ControlPlanePermission) SetWriteConnectionSecretToReference ¶
func (mg *ControlPlanePermission) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this ControlPlanePermission.
type ControlPlanePermissionList ¶
type ControlPlanePermissionList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []ControlPlanePermission `json:"items"` }
ControlPlanePermissionList contains a list of ControlPlanePermission
func (*ControlPlanePermissionList) DeepCopy ¶
func (in *ControlPlanePermissionList) DeepCopy() *ControlPlanePermissionList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ControlPlanePermissionList.
func (*ControlPlanePermissionList) DeepCopyInto ¶
func (in *ControlPlanePermissionList) DeepCopyInto(out *ControlPlanePermissionList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ControlPlanePermissionList) DeepCopyObject ¶
func (in *ControlPlanePermissionList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ControlPlanePermissionList) GetItems ¶
func (l *ControlPlanePermissionList) GetItems() []resource.Managed
GetItems of this ControlPlanePermissionList.
type ControlPlanePermissionObservation ¶
type ControlPlanePermissionObservation struct { // CreatedAt is the time the control plane permission was created. CreatedAt *metav1.Time `json:"createdAt,omitempty"` // UpdatedAt is the time the control plane permission was last updated. UpdatedAt *metav1.Time `json:"updatedAt,omitempty"` // AccountID is the ID of the account that the team belongs to, i.e. // organization account. AccountID uint `json:"accountId,omitempty"` // CreatorID is the ID of the user that created the control plane permission. CreatorID uint `json:"creatorId,omitempty"` }
ControlPlanePermissionObservation are the observable fields of a ControlPlanePermission.
func (*ControlPlanePermissionObservation) DeepCopy ¶
func (in *ControlPlanePermissionObservation) DeepCopy() *ControlPlanePermissionObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ControlPlanePermissionObservation.
func (*ControlPlanePermissionObservation) DeepCopyInto ¶
func (in *ControlPlanePermissionObservation) DeepCopyInto(out *ControlPlanePermissionObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ControlPlanePermissionParameters ¶
type ControlPlanePermissionParameters struct { // OrganizationName is the name of the organization to which the control plane // belongs. // +kubebuilder:validation:Required OrganizationName string `json:"organizationName"` // TeamID is the name of the team the control plane permission will be // granted to. // +crossplane:generate:reference:type=github.com/upbound/provider-upbound/apis/iam/v1alpha1.Team TeamID *string `json:"teamId,omitempty"` // TeamIDRef references a Team to retrieve its name to populate TeamID. TeamIDRef *xpv1.Reference `json:"teamIdRef,omitempty"` // TeamIDSelector selects a reference to a Team to populate TeamIDRef. TeamIDSelector *xpv1.Selector `json:"teamIdSelector,omitempty"` // ControlPlaneName is the name of the control plane to which the permission // will be granted. // +crossplane:generate:reference:type=ControlPlane ControlPlaneName string `json:"controlPlaneName,omitempty"` // ControlPlaneNameRef references a Team to retrieve its name to populate ControlPlaneName. ControlPlaneNameRef *xpv1.Reference `json:"controlPlaneNameRef,omitempty"` // ControlPlaneNameSelector selects a reference to a Team to populate ControlPlaneNameDRef. ControlPlaneNameSelector *xpv1.Selector `json:"controlPlaneNameSelector,omitempty"` // Permission is the permission to grant to the team. // +kubebuilder:validation:Enum=editor;viewer;owner // +kubebuilder:validation:Required Permission string `json:"permission"` }
ControlPlanePermissionParameters are the configurable fields of a ControlPlanePermission.
func (*ControlPlanePermissionParameters) DeepCopy ¶
func (in *ControlPlanePermissionParameters) DeepCopy() *ControlPlanePermissionParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ControlPlanePermissionParameters.
func (*ControlPlanePermissionParameters) DeepCopyInto ¶
func (in *ControlPlanePermissionParameters) DeepCopyInto(out *ControlPlanePermissionParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ControlPlanePermissionSpec ¶
type ControlPlanePermissionSpec struct { xpv1.ResourceSpec `json:",inline"` ForProvider ControlPlanePermissionParameters `json:"forProvider"` }
A ControlPlanePermissionSpec defines the desired state of a ControlPlanePermission.
func (*ControlPlanePermissionSpec) DeepCopy ¶
func (in *ControlPlanePermissionSpec) DeepCopy() *ControlPlanePermissionSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ControlPlanePermissionSpec.
func (*ControlPlanePermissionSpec) DeepCopyInto ¶
func (in *ControlPlanePermissionSpec) DeepCopyInto(out *ControlPlanePermissionSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ControlPlanePermissionStatus ¶
type ControlPlanePermissionStatus struct { xpv1.ResourceStatus `json:",inline"` AtProvider ControlPlanePermissionObservation `json:"atProvider,omitempty"` }
A ControlPlanePermissionStatus represents the observed state of a ControlPlanePermission.
func (*ControlPlanePermissionStatus) DeepCopy ¶
func (in *ControlPlanePermissionStatus) DeepCopy() *ControlPlanePermissionStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ControlPlanePermissionStatus.
func (*ControlPlanePermissionStatus) DeepCopyInto ¶
func (in *ControlPlanePermissionStatus) DeepCopyInto(out *ControlPlanePermissionStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ControlPlaneResponse ¶ added in v0.2.0
type ControlPlaneResponse struct { ControlPlane ControlPlaneObs `json:"controlPlane"` Status Status `json:"controlPlanestatus,omitempty"` Permission PermissionGroup `json:"controlPlanePermission,omitempty"` }
ControlPlaneResponse is the HTTP body returned by the Upbound API when fetching control planes.
func (*ControlPlaneResponse) DeepCopy ¶ added in v0.2.0
func (in *ControlPlaneResponse) DeepCopy() *ControlPlaneResponse
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ControlPlaneResponse.
func (*ControlPlaneResponse) DeepCopyInto ¶ added in v0.2.0
func (in *ControlPlaneResponse) DeepCopyInto(out *ControlPlaneResponse)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ControlPlaneSpec ¶ added in v0.2.0
type ControlPlaneSpec struct { xpv1.ResourceSpec `json:",inline"` ForProvider ControlPlaneParameters `json:"forProvider"` }
A ControlPlaneSpec defines the desired state of a ControlPlane.
func (*ControlPlaneSpec) DeepCopy ¶ added in v0.2.0
func (in *ControlPlaneSpec) DeepCopy() *ControlPlaneSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ControlPlaneSpec.
func (*ControlPlaneSpec) DeepCopyInto ¶ added in v0.2.0
func (in *ControlPlaneSpec) DeepCopyInto(out *ControlPlaneSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ControlPlaneStatus ¶ added in v0.2.0
type ControlPlaneStatus struct { xpv1.ResourceStatus `json:",inline"` AtProvider ControlPlaneResponse `json:"atProvider,omitempty"` }
A ControlPlaneStatus represents the observed state of a ControlPlane.
func (*ControlPlaneStatus) DeepCopy ¶ added in v0.2.0
func (in *ControlPlaneStatus) DeepCopy() *ControlPlaneStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ControlPlaneStatus.
func (*ControlPlaneStatus) DeepCopyInto ¶ added in v0.2.0
func (in *ControlPlaneStatus) DeepCopyInto(out *ControlPlaneStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PermissionGroup ¶ added in v0.2.0
type PermissionGroup string
PermissionGroup describes control plane permissions for the authenticated user.
const ( // PermissionMember has the ability to read the basic environment of the // team. PermissionMember PermissionGroup = "member" // PermissionOwner has the ability to modify any object in a linked control // plane, including deleting the control plane. PermissionOwner PermissionGroup = "owner" // PermissionNone has no permissions on the control plane. PermissionNone PermissionGroup = "none" )