Documentation ¶
Overview ¶
Package v1beta1 contains API Schema definitions for the serviceaccount v1beta1 API group +kubebuilder:object:generate=true +groupName=serviceaccount.kubetrail.io
Index ¶
- Variables
- type Token
- func (in *Token) DeepCopy() *Token
- func (in *Token) DeepCopyInto(out *Token)
- func (in *Token) DeepCopyObject() runtime.Object
- func (r *Token) Default()
- func (r *Token) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *Token) ValidateCreate() error
- func (r *Token) ValidateDelete() error
- func (r *Token) ValidateUpdate(old runtime.Object) error
- type TokenList
- type TokenSpec
- type TokenStatus
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "serviceaccount.kubetrail.io", 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 Token ¶
type Token struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec TokenSpec `json:"spec,omitempty"` Status TokenStatus `json:"status,omitempty"` }
Token is the Schema for the tokens API
func (*Token) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Token.
func (*Token) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Token) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Token) Default ¶
func (r *Token) Default()
Default implements webhook.Defaulter so a webhook will be registered for the type
func (*Token) SetupWebhookWithManager ¶
func (*Token) ValidateCreate ¶
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*Token) ValidateDelete ¶
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
type TokenList ¶
type TokenList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Token `json:"items"` }
TokenList contains a list of Token
func (*TokenList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TokenList.
func (*TokenList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*TokenList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type TokenSpec ¶
type TokenSpec struct { ServiceAccountName string `json:"serviceAccountName,omitempty"` RotationPeriodSeconds *int64 `json:"rotationPeriodSeconds,omitempty"` DeletionGracePeriodSeconds *int64 `json:"deletionGracePeriodSeconds,omitempty"` }
TokenSpec defines the desired state of Token
func (*TokenSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TokenSpec.
func (*TokenSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TokenStatus ¶
type TokenStatus struct { Phase string `json:"phase,omitempty"` Conditions []metav1.Condition `json:"conditions,omitempty"` Message string `json:"message,omitempty"` Reason string `json:"reason,omitempty"` SecretName string `json:"secretName,omitempty"` }
TokenStatus defines the observed state of Token
func (*TokenStatus) DeepCopy ¶
func (in *TokenStatus) DeepCopy() *TokenStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TokenStatus.
func (*TokenStatus) DeepCopyInto ¶
func (in *TokenStatus) DeepCopyInto(out *TokenStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.