Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the cinderella v1alpha1 API group +kubebuilder:object:generate=true +groupName=cinderella.sho2010.dev
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "cinderella.sho2010.dev", Version: "v1alpha1"} // 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 Cinderella ¶
type Cinderella struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec CinderellaSpec `json:"spec,omitempty"` Status CinderellaStatus `json:"status,omitempty"` }
Cinderella is the Schema for the cinderellas API
func (*Cinderella) DeepCopy ¶
func (in *Cinderella) DeepCopy() *Cinderella
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Cinderella.
func (*Cinderella) DeepCopyInto ¶
func (in *Cinderella) DeepCopyInto(out *Cinderella)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Cinderella) DeepCopyObject ¶
func (in *Cinderella) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type CinderellaList ¶
type CinderellaList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Cinderella `json:"items"` }
CinderellaList contains a list of Cinderella
func (*CinderellaList) DeepCopy ¶
func (in *CinderellaList) DeepCopy() *CinderellaList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CinderellaList.
func (*CinderellaList) DeepCopyInto ¶
func (in *CinderellaList) DeepCopyInto(out *CinderellaList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*CinderellaList) DeepCopyObject ¶
func (in *CinderellaList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type CinderellaSpec ¶
type CinderellaSpec struct { // roles for temporary user Roles []Role `json:"roles,omitempty"` // expiration term of temporary user Term Term `json:"term,omitempty"` // Encryption by public key for passing files to temporary user Encryption Encryption `json:"encryption,omitempty"` }
CinderellaSpec defines the desired state of Cinderella
func (*CinderellaSpec) DeepCopy ¶
func (in *CinderellaSpec) DeepCopy() *CinderellaSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CinderellaSpec.
func (*CinderellaSpec) DeepCopyInto ¶
func (in *CinderellaSpec) DeepCopyInto(out *CinderellaSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CinderellaStatus ¶
type CinderellaStatus struct { // Expired this resource Expired *bool `json:"expired,omitempty"` // ExpiredAt is expired at binding account // ExpiredAt is RFC 3339 format date and time at which this resource will be deleted. ExpiredAt metav1.Time `json:"expiredAt,omitempty"` }
CinderellaStatus defines the observed state of Cinderella
func (*CinderellaStatus) DeepCopy ¶
func (in *CinderellaStatus) DeepCopy() *CinderellaStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CinderellaStatus.
func (*CinderellaStatus) DeepCopyInto ¶
func (in *CinderellaStatus) DeepCopyInto(out *CinderellaStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Encryption ¶
type Encryption struct { // Use the github registered public key by user to encrypt the authentication file. Github Github `json:"github,omitempty"` // Use this public key to encrypt the authentication file. // key format must be OpenSSH public key format. PublicKey string `json:"publicKey,omitempty"` }
Encryption is specifies where to get the public key.
func (*Encryption) DeepCopy ¶
func (in *Encryption) DeepCopy() *Encryption
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Encryption.
func (*Encryption) DeepCopyInto ¶
func (in *Encryption) DeepCopyInto(out *Encryption)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Github ¶
type Github struct { // github user ID, fetch from https://github.com/<user>.gpg User string `json:"user,omitempty"` // KeyNumber is line number of https://github.com/<user>.gpg // Default value: 1 KeyNumber *int32 `json:"keyNumber,omitempty"` }
func (*Github) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Github.
func (*Github) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Role ¶
type Role struct { // Types of roles to bind // Valid values are: // - "Role": // - "ClusterRole": Kind RoleKind `json:"kind,omitempty"` // `ClusterRole` or `Role` Name Name string `json:"name,omitempty"` }
func (*Role) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Role.
func (*Role) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Term ¶
type Term struct { // Temporary user is will be invalidated after specified value of ExpiresAfter // The unit is minutes. ExpiresAfter *int32 `json:"expiresAfter,omitempty"` // RFC 3339 // e.g. "2020-12-01T00:00:00+09:00" ExpiresDate string `json:"expiresDate,omitempty"` }
Term is expiration of temporary user This is expressed as a date time, or a deadline such as 60min later.
func (*Term) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Term.
func (*Term) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.