Documentation
¶
Overview ¶
Package v1alpha1 contains the v1alpha1 group Sample resources of the Stackrox provider. +kubebuilder:object:generate=true +groupName=initbundle.stackrox.crossplane.io +versionName=v1alpha1
Index ¶
- Constants
- Variables
- type Attributes
- type ImpactedCluster
- type InitBundle
- func (in *InitBundle) DeepCopy() *InitBundle
- func (in *InitBundle) DeepCopyInto(out *InitBundle)
- func (in *InitBundle) DeepCopyObject() runtime.Object
- func (mg *InitBundle) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (mg *InitBundle) GetDeletionPolicy() xpv1.DeletionPolicy
- func (mg *InitBundle) GetProviderConfigReference() *xpv1.Reference
- func (mg *InitBundle) GetProviderReference() *xpv1.Reference
- func (mg *InitBundle) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *InitBundle) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (mg *InitBundle) SetConditions(c ...xpv1.Condition)
- func (mg *InitBundle) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *InitBundle) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *InitBundle) SetProviderReference(r *xpv1.Reference)
- func (mg *InitBundle) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *InitBundle) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type InitBundleList
- type InitBundleObservation
- type InitBundleParameters
- type InitBundleSpec
- type InitBundleStatus
- type User
Constants ¶
const ( Group = "initbundle.stackrox.crossplane.io" Version = "v1alpha1" )
Package type metadata.
Variables ¶
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} )
var ( InitBundleKind = reflect.TypeOf(InitBundle{}).Name() InitBundleGroupKind = schema.GroupKind{Group: Group, Kind: InitBundleKind}.String() InitBundleKindAPIVersion = InitBundleKind + "." + SchemeGroupVersion.String() InitBundleGroupVersionKind = SchemeGroupVersion.WithKind(InitBundleKind) )
InitBundle type metadata.
Functions ¶
This section is empty.
Types ¶
type Attributes ¶
Attributes defines a map of user attributes.
func (Attributes) DeepCopy ¶
func (in Attributes) DeepCopy() Attributes
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Attributes.
func (Attributes) DeepCopyInto ¶
func (in Attributes) DeepCopyInto(out *Attributes)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ImpactedCluster ¶
type ImpactedCluster struct {
// ID of the cluster.
ID string `json:"id"`
// Name of the cluster.
Name string `json:"name"`
}
ImpactedCluster represents a secured cluster impacted by an init bundle.
func (*ImpactedCluster) DeepCopy ¶
func (in *ImpactedCluster) DeepCopy() *ImpactedCluster
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImpactedCluster.
func (*ImpactedCluster) DeepCopyInto ¶
func (in *ImpactedCluster) DeepCopyInto(out *ImpactedCluster)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InitBundle ¶
type InitBundle struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec InitBundleSpec `json:"spec"`
Status InitBundleStatus `json:"status,omitempty"`
}
A InitBundle is an example API type. +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,redhat}
func (*InitBundle) DeepCopy ¶
func (in *InitBundle) DeepCopy() *InitBundle
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InitBundle.
func (*InitBundle) DeepCopyInto ¶
func (in *InitBundle) DeepCopyInto(out *InitBundle)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*InitBundle) DeepCopyObject ¶
func (in *InitBundle) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*InitBundle) GetCondition ¶
func (mg *InitBundle) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this InitBundle.
func (*InitBundle) GetDeletionPolicy ¶
func (mg *InitBundle) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this InitBundle.
func (*InitBundle) GetProviderConfigReference ¶
func (mg *InitBundle) GetProviderConfigReference() *xpv1.Reference
GetProviderConfigReference of this InitBundle.
func (*InitBundle) GetProviderReference ¶
func (mg *InitBundle) GetProviderReference() *xpv1.Reference
GetProviderReference of this InitBundle. Deprecated: Use GetProviderConfigReference.
func (*InitBundle) GetPublishConnectionDetailsTo ¶
func (mg *InitBundle) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this InitBundle.
func (*InitBundle) GetWriteConnectionSecretToReference ¶
func (mg *InitBundle) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this InitBundle.
func (*InitBundle) SetConditions ¶
func (mg *InitBundle) SetConditions(c ...xpv1.Condition)
SetConditions of this InitBundle.
func (*InitBundle) SetDeletionPolicy ¶
func (mg *InitBundle) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this InitBundle.
func (*InitBundle) SetProviderConfigReference ¶
func (mg *InitBundle) SetProviderConfigReference(r *xpv1.Reference)
SetProviderConfigReference of this InitBundle.
func (*InitBundle) SetProviderReference ¶
func (mg *InitBundle) SetProviderReference(r *xpv1.Reference)
SetProviderReference of this InitBundle. Deprecated: Use SetProviderConfigReference.
func (*InitBundle) SetPublishConnectionDetailsTo ¶
func (mg *InitBundle) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this InitBundle.
func (*InitBundle) SetWriteConnectionSecretToReference ¶
func (mg *InitBundle) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this InitBundle.
type InitBundleList ¶
type InitBundleList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []InitBundle `json:"items"`
}
InitBundleList contains a list of InitBundle
func (*InitBundleList) DeepCopy ¶
func (in *InitBundleList) DeepCopy() *InitBundleList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InitBundleList.
func (*InitBundleList) DeepCopyInto ¶
func (in *InitBundleList) DeepCopyInto(out *InitBundleList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*InitBundleList) DeepCopyObject ¶
func (in *InitBundleList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*InitBundleList) GetItems ¶
func (l *InitBundleList) GetItems() []resource.Managed
GetItems of this InitBundleList.
type InitBundleObservation ¶
type InitBundleObservation struct {
// CreatedAt timestamp of the init bundle.
CreatedAt metav1.Time `json:"createdAt,omitempty"`
// CreatedBy timestamp of the init bundle.
CreatedBy User `json:"createdBy,omitempty"`
// ExpiresAt timestamp of the init bundle.
ExpiresAt metav1.Time `json:"expiresAt,omitempty"`
// ID of the init bundle.
ID string `json:"id,omitempty"`
// ImpactedClusters defines a list of secured clusters impacted by the init bundle.
ImpactedClusters []ImpactedCluster `json:"impactedClusters,omitempty"`
// Name of the init bundle.
Name string `json:"name,omitempty"`
}
InitBundleObservation are the observable fields of a InitBundle.
func (*InitBundleObservation) DeepCopy ¶
func (in *InitBundleObservation) DeepCopy() *InitBundleObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InitBundleObservation.
func (*InitBundleObservation) DeepCopyInto ¶
func (in *InitBundleObservation) DeepCopyInto(out *InitBundleObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InitBundleParameters ¶
type InitBundleParameters struct {
// Name of the init bundle.
Name string `json:"name"`
}
InitBundleParameters are the configurable fields of a InitBundle.
func (*InitBundleParameters) DeepCopy ¶
func (in *InitBundleParameters) DeepCopy() *InitBundleParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InitBundleParameters.
func (*InitBundleParameters) DeepCopyInto ¶
func (in *InitBundleParameters) DeepCopyInto(out *InitBundleParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InitBundleSpec ¶
type InitBundleSpec struct {
xpv1.ResourceSpec `json:",inline"`
ForProvider InitBundleParameters `json:"forProvider"`
}
A InitBundleSpec defines the desired state of a InitBundle.
func (*InitBundleSpec) DeepCopy ¶
func (in *InitBundleSpec) DeepCopy() *InitBundleSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InitBundleSpec.
func (*InitBundleSpec) DeepCopyInto ¶
func (in *InitBundleSpec) DeepCopyInto(out *InitBundleSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InitBundleStatus ¶
type InitBundleStatus struct {
xpv1.ResourceStatus `json:",inline"`
AtProvider InitBundleObservation `json:"atProvider,omitempty"`
}
A InitBundleStatus represents the observed state of a InitBundle.
func (*InitBundleStatus) DeepCopy ¶
func (in *InitBundleStatus) DeepCopy() *InitBundleStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InitBundleStatus.
func (*InitBundleStatus) DeepCopyInto ¶
func (in *InitBundleStatus) DeepCopyInto(out *InitBundleStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type User ¶
type User struct {
// Attributes of the user.
Attributes Attributes `json:"attributes"`
// AuthProviderID which is associated with the user.
AuthProviderID string `json:"authProviderID"`
// ID of the user.
ID string `json:"id"`
}
User represents the actor that created the init bundle.
func (*User) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new User.
func (*User) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.