Documentation ¶
Index ¶
Constants ¶
const ( Group = "core.cs.sap.com" Version = "v1alpha1" ClusterSecretKind = "ClusterSecret" ClusterSecretResource = "clustersecrets" )
const ( StateProcessing = "Processing" StateDeleting = "Deleting" StateError = "Error" StateReady = "Ready" )
const (
ClusterSecretConditionTypeReady = "Ready"
)
Variables ¶
var ( SchemeBuilder runtime.SchemeBuilder AddToScheme = localSchemeBuilder.AddToScheme )
var ( GroupVersion = schema.GroupVersion{ Group: Group, Version: Version, } ClusterSecretGroupKind = schema.GroupKind{ Group: Group, Kind: ClusterSecretKind, } ClusterSecretGroupVersionKind = schema.GroupVersionKind{ Group: Group, Version: Version, Kind: ClusterSecretKind, } ClusterSecretGroupResource = schema.GroupResource{ Group: Group, Resource: ClusterSecretResource, } ClusterSecretGroupVersionResource = schema.GroupVersionResource{ Group: Group, Version: Version, Resource: ClusterSecretResource, } )
var SchemeGroupVersion = GroupVersion
Functions ¶
func Resource ¶
func Resource(resource string) schema.GroupResource
Types ¶
type ClusterSecret ¶
type ClusterSecret struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata"` // ClusterSecret spec Spec ClusterSecretSpec `json:"spec"` // ClusterSecret status Status ClusterSecretStatus `json:"status,omitempty"` }
ClusterSecret is the Schema for the clustersecrets API
func (*ClusterSecret) DeepCopy ¶
func (in *ClusterSecret) DeepCopy() *ClusterSecret
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterSecret.
func (*ClusterSecret) DeepCopyInto ¶
func (in *ClusterSecret) DeepCopyInto(out *ClusterSecret)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ClusterSecret) DeepCopyObject ¶
func (in *ClusterSecret) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ClusterSecretCondition ¶
type ClusterSecretCondition struct { // Type of the condition, known values are ('Ready'). Type ClusterSecretConditionType `json:"type"` // Status of the condition, one of ('True', 'False', 'Unknown'). Status corev1.ConditionStatus `json:"status"` // LastUpdateTime is the timestamp corresponding to the last status // update to this condition. LastUpdateTime metav1.Time `json:"lastUpdateTime,omitempty"` // LastTransitionTime is the timestamp corresponding to the last status // change of this condition. LastTransitionTime metav1.Time `json:"lastTransitionTime,omitempty"` // Reason is a brief machine readable explanation for the condition's last // transition. Reason string `json:"reason,omitempty"` // Message is a human readable description of the details of the last // transition, complementing reason. Message string `json:"message,omitempty"` }
Condition represents a certain aspect of the overall state of a ClusterSecret object
func (*ClusterSecretCondition) DeepCopy ¶
func (in *ClusterSecretCondition) DeepCopy() *ClusterSecretCondition
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterSecretCondition.
func (*ClusterSecretCondition) DeepCopyInto ¶
func (in *ClusterSecretCondition) DeepCopyInto(out *ClusterSecretCondition)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterSecretList ¶
type ClusterSecretList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []ClusterSecret `json:"items"` }
ClusterSecretList contains a list of ClusterSecret
func (*ClusterSecretList) DeepCopy ¶
func (in *ClusterSecretList) DeepCopy() *ClusterSecretList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterSecretList.
func (*ClusterSecretList) DeepCopyInto ¶
func (in *ClusterSecretList) DeepCopyInto(out *ClusterSecretList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ClusterSecretList) DeepCopyObject ¶
func (in *ClusterSecretList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ClusterSecretSpec ¶
type ClusterSecretSpec struct { // Namespace selector; defines to which namespaces the secrets will be distributed NamespaceSelector *metav1.LabelSelector `json:"namespaceSelector,omitempty"` // Secret template; defines how the distributed secrets shall look like Template SecretTemplateSpec `json:"template"` }
ClusterSecretSpec defines the desired state of ClusterSecret
func (*ClusterSecretSpec) DeepCopy ¶
func (in *ClusterSecretSpec) DeepCopy() *ClusterSecretSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterSecretSpec.
func (*ClusterSecretSpec) DeepCopyInto ¶
func (in *ClusterSecretSpec) DeepCopyInto(out *ClusterSecretSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ClusterSecretStatus ¶
type ClusterSecretStatus struct { // Observed generation ObservedGeneration int64 `json:"observedGeneration,omitempty"` // State in a short human readable form State string `json:"state,omitempty"` // State expressed as conditions (for usage with kubectl wait et al.) Conditions []ClusterSecretCondition `json:"conditions,omitempty"` }
ClusterSecretStatus reflects the actual state of ClusterSecret
func (*ClusterSecretStatus) DeepCopy ¶
func (in *ClusterSecretStatus) DeepCopy() *ClusterSecretStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterSecretStatus.
func (*ClusterSecretStatus) DeepCopyInto ¶
func (in *ClusterSecretStatus) DeepCopyInto(out *ClusterSecretStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SecretTemplateSpec ¶
type SecretTemplateSpec struct { // Secret type Type corev1.SecretType `json:"type"` // Secret data as base64 encoded raw data Data map[string][]byte `json:"data,omitempty"` // Secret data as string StringData map[string]string `json:"stringData,omitempty"` }
SecretTemplateSpec defines how the managed secrets should look like
func (*SecretTemplateSpec) DeepCopy ¶
func (in *SecretTemplateSpec) DeepCopy() *SecretTemplateSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretTemplateSpec.
func (*SecretTemplateSpec) DeepCopyInto ¶
func (in *SecretTemplateSpec) DeepCopyInto(out *SecretTemplateSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.