Documentation ¶
Overview ¶
+k8s:deepcopy-gen=package +groupName=management.llmos.ai
+k8s:deepcopy-gen=package +groupName=management.llmos.ai
+k8s:deepcopy-gen=package +groupName=management.llmos.ai
Index ¶
- Variables
- func Kind(kind string) schema.GroupKind
- func Resource(resource string) schema.GroupResource
- type AddonState
- type GlobalRole
- type GlobalRoleList
- type GlobalRoleSpec
- type GlobalRoleStatus
- type ManagedAddon
- type ManagedAddonList
- type ManagedAddonSpec
- type ManagedAddonStatus
- type NodeUpgradeStatus
- type RoleTemplate
- type RoleTemplateBinding
- type RoleTemplateBindingList
- type RoleTemplateList
- type RoleTemplateRef
- type RoleTemplateSpec
- type RoleTemplateStatus
- type Setting
- type SettingList
- type SettingStatus
- type Token
- type TokenList
- type TokenSpec
- type TokenStatus
- type Upgrade
- type UpgradeJobStatus
- type UpgradeList
- type UpgradeManagedAddonStatus
- type UpgradePlanStatus
- type UpgradeSpec
- type UpgradeStatus
- type User
- type UserList
- type UserSpec
- type UserStatus
- type Version
- type VersionList
- type VersionSpec
Constants ¶
This section is empty.
Variables ¶
var ( ClusterRoleExists condition.Cond = "ClusterRoleExists" NamespacedRoleExists condition.Cond = "NamespacedRoleExists" )
var ( // UpgradeCompleted is true when the upgrade is completion UpgradeCompleted condition.Cond = "Completed" // UpgradeChartsRepoReady is true when the upgrade chart repo is ready UpgradeChartsRepoReady condition.Cond = "ChartsRepoReady" // ManifestUpgradeComplete is true when the llmos-operator charts is upgraded ManifestUpgradeComplete condition.Cond = "ManifestUpgradeComplete" // ManagedAddonsIsReady is true when all the activated managed-addons are upgraded ManagedAddonsIsReady condition.Cond = "ManagedAddonsIsReady" // NodesUpgraded is true when all nodes are upgraded NodesUpgraded condition.Cond = "NodesUpgraded" )
var ( GlobalRoleResourceName = "globalroles" ManagedAddonResourceName = "managedaddons" RoleTemplateResourceName = "roletemplates" RoleTemplateBindingResourceName = "roletemplatebindings" SettingResourceName = "settings" TokenResourceName = "tokens" UpgradeResourceName = "upgrades" UserResourceName = "users" VersionResourceName = "versions" )
var ( SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) AddToScheme = SchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: management.GroupName, Version: "v1"}
SchemeGroupVersion is group version used to register these objects
var (
SettingConfigured condition.Cond = "configured"
)
Functions ¶
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type AddonState ¶
type AddonState string
const ( AddonCondChartDeployed cond.Cond = "ChartDeployed" AddonCondInProgress cond.Cond = "InProgress" AddonCondReady cond.Cond = "Ready" AddonStateEnabled AddonState = "Enabled" AddonStateDisabled AddonState = "Disabled" AddonStateDeployed AddonState = "Deployed" AddonStateInProgress AddonState = "InProgress" AddonStateComplete AddonState = "Complete" AddonStateError AddonState = "Error" AddonStateFailed AddonState = "Failed" )
type GlobalRole ¶
type GlobalRole struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` // Spec holds the desired configs of the GlobalRole. // +optional Spec GlobalRoleSpec `json:"spec,omitempty"` // Rules holds a list of PolicyRules that are applied to the local cluster only. // +optional Rules []rbacv1.PolicyRule `json:"rules,omitempty"` // NamespacedRules are the rules that are active in each namespace of this GlobalRole. // These are applied to the local cluster only. // * has no special meaning in the keys - these keys are read as raw strings // and must exactly match with one existing namespace. // +optional NamespacedRules map[string][]rbacv1.PolicyRule `json:"namespacedRules,omitempty"` // Status is the most recently observed status of the GlobalRole. // +optional Status GlobalRoleStatus `json:"status,omitempty"` }
func NewGlobalRole ¶
func NewGlobalRole(namespace, name string, obj GlobalRole) *GlobalRole
func (*GlobalRole) DeepCopy ¶
func (in *GlobalRole) DeepCopy() *GlobalRole
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GlobalRole.
func (*GlobalRole) DeepCopyInto ¶
func (in *GlobalRole) DeepCopyInto(out *GlobalRole)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*GlobalRole) DeepCopyObject ¶
func (in *GlobalRole) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type GlobalRoleList ¶
type GlobalRoleList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []GlobalRole `json:"items"` }
GlobalRoleList is a list of GlobalRole resources
func (*GlobalRoleList) DeepCopy ¶
func (in *GlobalRoleList) DeepCopy() *GlobalRoleList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GlobalRoleList.
func (*GlobalRoleList) DeepCopyInto ¶
func (in *GlobalRoleList) DeepCopyInto(out *GlobalRoleList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*GlobalRoleList) DeepCopyObject ¶
func (in *GlobalRoleList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type GlobalRoleSpec ¶
type GlobalRoleSpec struct { // DisplayName is the human-readable name displayed in the UI. // +optional DisplayName string `json:"displayName,omitempty"` // NewUserDefault specifies that all new users created should be bound to this role if true. // +optional NewUserDefault bool `json:"newUserDefault,omitempty"` // Builtin specifies that this GlobalRole was created by LLMOS if true. // +optional Builtin bool `json:"builtin,omitempty"` }
func (*GlobalRoleSpec) DeepCopy ¶
func (in *GlobalRoleSpec) DeepCopy() *GlobalRoleSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GlobalRoleSpec.
func (*GlobalRoleSpec) DeepCopyInto ¶
func (in *GlobalRoleSpec) DeepCopyInto(out *GlobalRoleSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type GlobalRoleStatus ¶
type GlobalRoleStatus struct { // Conditions is a slice of Condition, indicating the status of specific backing RBAC objects. // There is one condition per ClusterRole and Role managed by the GlobalRole. // +optional Conditions []common.Condition `json:"conditions,omitempty"` // ObservedGeneration is the most recent generation (metadata.generation in GlobalRole CR) // observed by the controller. Populated by the system. // +optional ObservedGeneration int64 `json:"observedGeneration,omitempty"` // LastUpdate is a k8s timestamp of the last time the status was updated. // +optional LastUpdate string `json:"lastUpdateTime,omitempty"` // State represent a state of "Complete", "InProgress" or "Error". // +optional // +kubebuilder:validation:Enum={"Complete","InProgress","Error"} State string `json:"state,omitempty"` }
func (*GlobalRoleStatus) DeepCopy ¶
func (in *GlobalRoleStatus) DeepCopy() *GlobalRoleStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GlobalRoleStatus.
func (*GlobalRoleStatus) DeepCopyInto ¶
func (in *GlobalRoleStatus) DeepCopyInto(out *GlobalRoleStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ManagedAddon ¶
type ManagedAddon struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ManagedAddonSpec `json:"spec"` Status ManagedAddonStatus `json:"status,omitempty"` }
ManagedAddon helps to manage the lifecycle of the LLMOS system addons.
func NewManagedAddon ¶
func NewManagedAddon(namespace, name string, obj ManagedAddon) *ManagedAddon
func (*ManagedAddon) DeepCopy ¶
func (in *ManagedAddon) DeepCopy() *ManagedAddon
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedAddon.
func (*ManagedAddon) DeepCopyInto ¶
func (in *ManagedAddon) DeepCopyInto(out *ManagedAddon)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ManagedAddon) DeepCopyObject ¶
func (in *ManagedAddon) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ManagedAddonList ¶
type ManagedAddonList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []ManagedAddon `json:"items"` }
ManagedAddonList is a list of ManagedAddon resources
func (*ManagedAddonList) DeepCopy ¶
func (in *ManagedAddonList) DeepCopy() *ManagedAddonList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedAddonList.
func (*ManagedAddonList) DeepCopyInto ¶
func (in *ManagedAddonList) DeepCopyInto(out *ManagedAddonList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ManagedAddonList) DeepCopyObject ¶
func (in *ManagedAddonList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ManagedAddonSpec ¶
type ManagedAddonSpec struct { // +kubebuilder:validation:Required Repo string `json:"repo"` // +kubebuilder:validation:Required Chart string `json:"chart"` // +kubebuilder:validation:Required Version string `json:"version"` // +kubebuilder:validation:Required Enabled bool `json:"enabled"` // +optional, reinstall or waiting for operator intervention FailurePolicy string `json:"failurePolicy,omitempty"` // +optional, default values content DefaultValuesContent string `json:"defaultValuesContent,omitempty"` // +optional, custom values that override the default values ValuesContent string `json:"valuesContent,omitempty"` }
func (*ManagedAddonSpec) DeepCopy ¶
func (in *ManagedAddonSpec) DeepCopy() *ManagedAddonSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedAddonSpec.
func (*ManagedAddonSpec) DeepCopyInto ¶
func (in *ManagedAddonSpec) DeepCopyInto(out *ManagedAddonSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ManagedAddonStatus ¶
type ManagedAddonStatus struct { // Conditions is an array of current conditions Conditions []common.Condition `json:"conditions,omitempty"` // State is the state of managedAddon. State AddonState `json:"state,omitempty"` // Represents time when the job was completed. It is not guaranteed to // be set in happens-before order across separate operations. // It is represented in RFC3339 form and is in UTC. // The completion time is set when the job finishes successfully, and only then. // The value cannot be updated or removed. The value indicates the same or // later point in time as the startTime field. // +optional CompletionTime *metav1.Time `json:"completionTime,omitempty"` // The number of pods which reached phase Succeeded. // The value increases monotonically for a given spec. However, it may // decrease in reaction to scale down of elastic indexed jobs. // +optional Succeeded int32 `json:"succeeded,omitempty"` // The number of pods which have a Ready condition. // +optional Ready *int32 `json:"ready,omitempty"` // The number of pending and running pods which are not terminating (without // a deletionTimestamp). // The value is zero for finished jobs. // +optional Active int32 `json:"active,omitempty"` // The name of the job that was created for this managedAddon. JobName string `json:"jobName,omitempty"` }
func (*ManagedAddonStatus) DeepCopy ¶
func (in *ManagedAddonStatus) DeepCopy() *ManagedAddonStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedAddonStatus.
func (*ManagedAddonStatus) DeepCopyInto ¶
func (in *ManagedAddonStatus) DeepCopyInto(out *ManagedAddonStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NodeUpgradeStatus ¶
type NodeUpgradeStatus struct { // +optional State string `json:"state,omitempty"` // +optional Reason string `json:"reason,omitempty"` // +optional Message string `json:"message,omitempty"` }
func (*NodeUpgradeStatus) DeepCopy ¶
func (in *NodeUpgradeStatus) DeepCopy() *NodeUpgradeStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeUpgradeStatus.
func (*NodeUpgradeStatus) DeepCopyInto ¶
func (in *NodeUpgradeStatus) DeepCopyInto(out *NodeUpgradeStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RoleTemplate ¶
type RoleTemplate struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` // Spec holds the desired configs of the RoleTemplate. // +optional Spec RoleTemplateSpec `json:"spec,omitempty"` // Rules hold a list of PolicyRules for this RoleTemplate. // +optional Rules []rbacv1.PolicyRule `json:"rules,omitempty"` // Status is the most recently observed status of the RoleTemplate. // +optional Status RoleTemplateStatus `json:"status,omitempty"` }
func NewRoleTemplate ¶
func NewRoleTemplate(namespace, name string, obj RoleTemplate) *RoleTemplate
func (*RoleTemplate) DeepCopy ¶
func (in *RoleTemplate) DeepCopy() *RoleTemplate
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RoleTemplate.
func (*RoleTemplate) DeepCopyInto ¶
func (in *RoleTemplate) DeepCopyInto(out *RoleTemplate)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RoleTemplate) DeepCopyObject ¶
func (in *RoleTemplate) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type RoleTemplateBinding ¶
type RoleTemplateBinding struct { metav1.TypeMeta `json:",inline"` // +optional metav1.ObjectMeta `json:"metadata,omitempty"` // RoleTemplateRef can reference a RoleTemplate in the current namespace or a GlobalRole in the global namespace. // If the RoleTemplateRef cannot be resolved, the Webhook must return an error. // This field is immutable. RoleTemplateRef RoleTemplateRef `json:"roleTemplateRef"` // Subjects holds references to the objects the global role applies to. // +optional // +listType=atomic Subjects []rbacv1.Subject `json:"subjects,omitempty"` // NamespaceId is the namespace id of the namespace the role template binding is applied to. NamespaceId string `json:"namespaceId,omitempty"` }
RoleTemplateBinding binds a given subject user to a GlobalRole.
func NewRoleTemplateBinding ¶
func NewRoleTemplateBinding(namespace, name string, obj RoleTemplateBinding) *RoleTemplateBinding
func (*RoleTemplateBinding) DeepCopy ¶
func (in *RoleTemplateBinding) DeepCopy() *RoleTemplateBinding
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RoleTemplateBinding.
func (*RoleTemplateBinding) DeepCopyInto ¶
func (in *RoleTemplateBinding) DeepCopyInto(out *RoleTemplateBinding)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RoleTemplateBinding) DeepCopyObject ¶
func (in *RoleTemplateBinding) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type RoleTemplateBindingList ¶
type RoleTemplateBindingList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []RoleTemplateBinding `json:"items"` }
RoleTemplateBindingList is a list of RoleTemplateBinding resources
func (*RoleTemplateBindingList) DeepCopy ¶
func (in *RoleTemplateBindingList) DeepCopy() *RoleTemplateBindingList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RoleTemplateBindingList.
func (*RoleTemplateBindingList) DeepCopyInto ¶
func (in *RoleTemplateBindingList) DeepCopyInto(out *RoleTemplateBindingList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RoleTemplateBindingList) DeepCopyObject ¶
func (in *RoleTemplateBindingList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type RoleTemplateList ¶
type RoleTemplateList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []RoleTemplate `json:"items"` }
RoleTemplateList is a list of RoleTemplate resources
func (*RoleTemplateList) DeepCopy ¶
func (in *RoleTemplateList) DeepCopy() *RoleTemplateList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RoleTemplateList.
func (*RoleTemplateList) DeepCopyInto ¶
func (in *RoleTemplateList) DeepCopyInto(out *RoleTemplateList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RoleTemplateList) DeepCopyObject ¶
func (in *RoleTemplateList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type RoleTemplateRef ¶
type RoleTemplateRef struct { // APIGroup is the group for the resource being referenced APIGroup string `json:"apiGroup"` // Kind is the type of resource being referenced Kind string `json:"kind"` // Name is the name of resource being referenced Name string `json:"name"` }
func (*RoleTemplateRef) DeepCopy ¶
func (in *RoleTemplateRef) DeepCopy() *RoleTemplateRef
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RoleTemplateRef.
func (*RoleTemplateRef) DeepCopyInto ¶
func (in *RoleTemplateRef) DeepCopyInto(out *RoleTemplateRef)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RoleTemplateSpec ¶
type RoleTemplateSpec struct { // DisplayName is the human-readable name displayed in the UI. // +optional DisplayName string `json:"displayName,omitempty"` // Builtin specifies that this RoleTemplate was created by LLMOS if true. // +optional Builtin bool `json:"builtin,omitempty"` // Locked specified that if new bindings will not be able to use this RoleTemplate. // +optional Locked bool `json:"locked,omitempty"` // NewNamespaceDefault specifies that this RoleTemplate should be applied to all new created namespaces if true. NewNamespaceDefault bool `json:"newNamespaceDefault,omitempty"` }
func (*RoleTemplateSpec) DeepCopy ¶
func (in *RoleTemplateSpec) DeepCopy() *RoleTemplateSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RoleTemplateSpec.
func (*RoleTemplateSpec) DeepCopyInto ¶
func (in *RoleTemplateSpec) DeepCopyInto(out *RoleTemplateSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RoleTemplateStatus ¶
type RoleTemplateStatus struct { // Conditions is a slice of Condition, indicating the status of specific backing RBAC objects. // There is one condition per ClusterRole and Role managed by the RoleTemplate. // +optional Conditions []common.Condition `json:"conditions,omitempty"` // ObservedGeneration is the most recent generation (metadata.generation in RoleTemplate CR) // observed by the controller. Populated by the system. // +optional ObservedGeneration int64 `json:"observedGeneration,omitempty"` // LastUpdate is a k8s timestamp of the last time the status was updated. // +optional LastUpdate string `json:"lastUpdateTime,omitempty"` // State represent a state of "Complete", "InProgress" or "Error". // +optional // +kubebuilder:validation:Enum={"Complete","InProgress","Error"} State string `json:"state,omitempty"` }
func (*RoleTemplateStatus) DeepCopy ¶
func (in *RoleTemplateStatus) DeepCopy() *RoleTemplateStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RoleTemplateStatus.
func (*RoleTemplateStatus) DeepCopyInto ¶
func (in *RoleTemplateStatus) DeepCopyInto(out *RoleTemplateStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Setting ¶
type Setting struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` // +optional Value string `json:"value,omitempty"` // +optional Default string `json:"default,omitempty"` // +optional Customized bool `json:"customized,omitempty"` // +optional Source string `json:"source,omitempty"` Status SettingStatus `json:"status,omitempty"` }
func NewSetting ¶
func (*Setting) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Setting.
func (*Setting) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Setting) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type SettingList ¶
type SettingList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []Setting `json:"items"` }
SettingList is a list of Setting resources
func (*SettingList) DeepCopy ¶
func (in *SettingList) DeepCopy() *SettingList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SettingList.
func (*SettingList) DeepCopyInto ¶
func (in *SettingList) DeepCopyInto(out *SettingList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SettingList) DeepCopyObject ¶
func (in *SettingList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type SettingStatus ¶
type SettingStatus struct { // +optional Conditions []common.Condition `json:"conditions,omitempty"` }
func (*SettingStatus) DeepCopy ¶
func (in *SettingStatus) DeepCopy() *SettingStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SettingStatus.
func (*SettingStatus) DeepCopyInto ¶
func (in *SettingStatus) DeepCopyInto(out *SettingStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Token ¶
type Token struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec TokenSpec `json:"spec"` Status TokenStatus `json:"status,omitempty"` }
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.
type TokenList ¶
type TokenList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []Token `json:"items"` }
TokenList is a list of Token resources
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 { // +kubebuilder:validation:Required UserId string `json:"userId"` // +kubebuilder:validation:Required AuthProvider string `json:"authProvider"` // +optional Expired bool `json:"expired,omitempty"` TTLSeconds int64 `json:"ttlSeconds,omitempty"` Token string `json:"token,omitempty"` }
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 { ExpiresAt metav1.Time `json:"expiresAt,omitempty"` IsExpired bool `json:"isExpired"` }
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.
type Upgrade ¶
type Upgrade struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec UpgradeSpec `json:"spec,omitempty"` Status UpgradeStatus `json:"status,omitempty"` }
Upgrade is the Schema for the upgrades API
func NewUpgrade ¶
func (*Upgrade) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Upgrade.
func (*Upgrade) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Upgrade) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type UpgradeJobStatus ¶
type UpgradeJobStatus struct { Name string `json:"name"` HelmChartName string `json:"helmChartName"` Complete bool `json:"complete"` LastUpdateTime metav1.Time `json:"lastUpdateTime,omitempty"` }
func (*UpgradeJobStatus) DeepCopy ¶
func (in *UpgradeJobStatus) DeepCopy() *UpgradeJobStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UpgradeJobStatus.
func (*UpgradeJobStatus) DeepCopyInto ¶
func (in *UpgradeJobStatus) DeepCopyInto(out *UpgradeJobStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type UpgradeList ¶
type UpgradeList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []Upgrade `json:"items"` }
UpgradeList is a list of Upgrade resources
func (*UpgradeList) DeepCopy ¶
func (in *UpgradeList) DeepCopy() *UpgradeList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UpgradeList.
func (*UpgradeList) DeepCopyInto ¶
func (in *UpgradeList) DeepCopyInto(out *UpgradeList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*UpgradeList) DeepCopyObject ¶
func (in *UpgradeList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type UpgradeManagedAddonStatus ¶
type UpgradeManagedAddonStatus struct { Name string `json:"name"` JobName string `json:"jobName,omitempty"` Complete bool `json:"complete"` Disabled bool `json:"disabled"` LastUpdateTime metav1.Time `json:"lastUpdateTime,omitempty"` }
func (*UpgradeManagedAddonStatus) DeepCopy ¶
func (in *UpgradeManagedAddonStatus) DeepCopy() *UpgradeManagedAddonStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UpgradeManagedAddonStatus.
func (*UpgradeManagedAddonStatus) DeepCopyInto ¶
func (in *UpgradeManagedAddonStatus) DeepCopyInto(out *UpgradeManagedAddonStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type UpgradePlanStatus ¶
type UpgradePlanStatus struct { Name string `json:"name"` Complete bool `json:"complete"` LatestHash string `json:"latestHash,omitempty"` LatestVersion string `json:"latestVersion,omitempty"` LastUpdateTime metav1.Time `json:"lastUpdateTime,omitempty"` }
func (*UpgradePlanStatus) DeepCopy ¶
func (in *UpgradePlanStatus) DeepCopy() *UpgradePlanStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UpgradePlanStatus.
func (*UpgradePlanStatus) DeepCopyInto ¶
func (in *UpgradePlanStatus) DeepCopyInto(out *UpgradePlanStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type UpgradeSpec ¶
type UpgradeSpec struct { // +kubebuilder:validation:Required // The LLMOS Operator version to upgrade to Version string `json:"version"` // +Optional, Specify the Kubernetes version to upgrade to KubernetesVersion string `json:"kubernetesVersion,omitempty"` // +Optional, override the default image registry if provided Registry string `json:"registry,omitempty"` // +Optional, Specify the drain spec Drain *upgradev1.DrainSpec `json:"drain,omitempty"` }
UpgradeSpec defines the desired state of Upgrade
func (*UpgradeSpec) DeepCopy ¶
func (in *UpgradeSpec) DeepCopy() *UpgradeSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UpgradeSpec.
func (*UpgradeSpec) DeepCopyInto ¶
func (in *UpgradeSpec) DeepCopyInto(out *UpgradeSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type UpgradeStatus ¶
type UpgradeStatus struct { // +optional Conditions []common.Condition `json:"conditions,omitempty"` // +optional, a map of node name to upgrade status NodeStatuses map[string]NodeUpgradeStatus `json:"nodeStatuses,omitempty"` // +optional, previous llmos version PreviousVersion string `json:"previousVersion,omitempty"` // +optional, previous Kubernetes version PreviousKubernetesVersion string `json:"PreviousKubernetesVersion,omitempty"` // +optional, Node image used for upgrade NodeImageId string `json:"nodeImageId,omitempty"` // +optional State string `json:"state,omitempty"` // +optional, save the applied version AppliedVersion string `json:"appliedVersion,omitempty"` // +optional, a list of upgrade jobs that are required to be completed before the upgrade can be ready UpgradeJobs []UpgradeJobStatus `json:"upgradeJobs,omitempty"` // +optional, a map of plan name to upgrade status PlanStatus []UpgradePlanStatus `json:"planStatus,omitempty"` // +optional, a list of managed addon upgrade status ManagedAddonStatus []UpgradeManagedAddonStatus `json:"managedAddonStatus,omitempty"` // +optional StartTime metav1.Time `json:"startTime,omitempty"` // +optional CompleteTime metav1.Time `json:"completeTime,omitempty"` }
UpgradeStatus defines the observed state of Upgrade
func (*UpgradeStatus) DeepCopy ¶
func (in *UpgradeStatus) DeepCopy() *UpgradeStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UpgradeStatus.
func (*UpgradeStatus) DeepCopyInto ¶
func (in *UpgradeStatus) DeepCopyInto(out *UpgradeStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type User ¶
type User struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec UserSpec `json:"spec"` Status UserStatus `json:"status,omitempty"` }
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.
func (*User) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type UserList ¶
type UserList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []User `json:"items"` }
UserList is a list of User resources
func (*UserList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserList.
func (*UserList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*UserList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type UserSpec ¶
type UserSpec struct { // +kubebuilder:validation:Required Username string `json:"username"` // +optional DisplayName string `json:"displayName,omitempty"` // +optional Description string `json:"description,omitempty"` // +kubebuilder:validation:Required Password string `json:"password"` // +kubebuilder:default:=true Active bool `json:"active"` }
func (*UserSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserSpec.
func (*UserSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type UserStatus ¶
type UserStatus struct { Conditions []common.Condition `json:"conditions,omitempty"` LastUpdateTime string `json:"lastUpdateTime,omitempty"` IsAdmin bool `json:"isAdmin"` IsActive bool `json:"isActive"` }
func (*UserStatus) DeepCopy ¶
func (in *UserStatus) DeepCopy() *UserStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserStatus.
func (*UserStatus) DeepCopyInto ¶
func (in *UserStatus) DeepCopyInto(out *UserStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Version ¶
type Version struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec VersionSpec `json:"spec,omitempty"` }
Version is the Schema for the upgrade version
func NewVersion ¶
func (*Version) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Version.
func (*Version) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Version) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type VersionList ¶
type VersionList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []Version `json:"items"` }
VersionList is a list of Version resources
func (*VersionList) DeepCopy ¶
func (in *VersionList) DeepCopy() *VersionList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VersionList.
func (*VersionList) DeepCopyInto ¶
func (in *VersionList) DeepCopyInto(out *VersionList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*VersionList) DeepCopyObject ¶
func (in *VersionList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type VersionSpec ¶
type VersionSpec struct { // +optional, Specify the minimum version that can be upgraded from MinUpgradableVersion string `json:"minUpgradableVersion,omitempty"` // +optional, Specify the kubernetes version to upgrade to KubernetesVersion string `json:"kubernetesVersion,omitempty"` // +kubebuilder:validation:Required ReleaseDate string `json:"releaseDate,omitempty"` // +optional, Specify the tags of the version Tags []string `json:"tags,omitempty"` }
VersionSpec defines the desired state of Version
func (*VersionSpec) DeepCopy ¶
func (in *VersionSpec) DeepCopy() *VersionSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VersionSpec.
func (*VersionSpec) DeepCopyInto ¶
func (in *VersionSpec) DeepCopyInto(out *VersionSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.