Documentation
¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the core v1alpha1 API group +kubebuilder:object:generate=true +groupName=core.platform-mesh.io
Index ¶
- Constants
- Variables
- func SetupAccountWebhookWithManager(mgr ctrl.Manager) error
- type Account
- func (in *Account) DeepCopy() *Account
- func (in *Account) DeepCopyInto(out *Account)
- func (in *Account) DeepCopyObject() runtime.Object
- func (i *Account) GetConditions() []metav1.Condition
- func (i *Account) GetNextReconcileTime() metav1.Time
- func (i *Account) GetObservedGeneration() int64
- func (i *Account) SetConditions(conditions []metav1.Condition)
- func (i *Account) SetNextReconcileTime(time metav1.Time)
- func (i *Account) SetObservedGeneration(g int64)
- type AccountDefaulter
- type AccountInfo
- type AccountInfoList
- type AccountInfoSpec
- type AccountInfoStatus
- type AccountList
- type AccountLocation
- type AccountSpec
- type AccountStatus
- type AccountType
- type ClusterInfo
- type Extension
- type FGAInfo
- type StoreInfo
Constants ¶
const ( AccountTypeOrg AccountType = "org" AccountTypeAccount AccountType = "account" NamespaceAccountOwnerLabel = "account.core.platform-mesh.io/owner" NamespaceAccountOwnerNamespaceLabel = "account.core.platform-mesh.io/owner-namespace" )
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "core.platform-mesh.io", 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 ¶
Types ¶
type Account ¶
type Account struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec AccountSpec `json:"spec,omitempty"` Status AccountStatus `json:"status,omitempty"` }
Account is the Schema for the accounts API
func (*Account) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Account.
func (*Account) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Account) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Account) GetConditions ¶
func (*Account) GetNextReconcileTime ¶
func (*Account) GetObservedGeneration ¶
func (*Account) SetConditions ¶
func (*Account) SetNextReconcileTime ¶
func (*Account) SetObservedGeneration ¶
type AccountDefaulter ¶
type AccountDefaulter struct{}
func (*AccountDefaulter) DeepCopy ¶
func (in *AccountDefaulter) DeepCopy() *AccountDefaulter
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AccountDefaulter.
func (*AccountDefaulter) DeepCopyInto ¶
func (in *AccountDefaulter) DeepCopyInto(out *AccountDefaulter)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AccountInfo ¶
type AccountInfo struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec AccountInfoSpec `json:"spec,omitempty"` Status AccountInfoStatus `json:"status,omitempty"` }
+kubebuilder:object:root=true +kubebuilder:resource:path=accountinfos +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster AccountInfo is the Schema for the accountinfo API
func (*AccountInfo) DeepCopy ¶
func (in *AccountInfo) DeepCopy() *AccountInfo
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AccountInfo.
func (*AccountInfo) DeepCopyInto ¶
func (in *AccountInfo) DeepCopyInto(out *AccountInfo)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AccountInfo) DeepCopyObject ¶
func (in *AccountInfo) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type AccountInfoList ¶
type AccountInfoList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []AccountInfo `json:"items"` }
+kubebuilder:object:root=true AccountInfoList contains a list of AccountInfos
func (*AccountInfoList) DeepCopy ¶
func (in *AccountInfoList) DeepCopy() *AccountInfoList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AccountInfoList.
func (*AccountInfoList) DeepCopyInto ¶
func (in *AccountInfoList) DeepCopyInto(out *AccountInfoList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AccountInfoList) DeepCopyObject ¶
func (in *AccountInfoList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type AccountInfoSpec ¶
type AccountInfoSpec struct { FGA FGAInfo `json:"fga"` Account AccountLocation `json:"account"` ParentAccount *AccountLocation `json:"parentAccount,omitempty"` Organization AccountLocation `json:"organization"` ClusterInfo ClusterInfo `json:"clusterInfo"` }
AccountInfoSpec defines the desired state of Account
func (*AccountInfoSpec) DeepCopy ¶
func (in *AccountInfoSpec) DeepCopy() *AccountInfoSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AccountInfoSpec.
func (*AccountInfoSpec) DeepCopyInto ¶
func (in *AccountInfoSpec) DeepCopyInto(out *AccountInfoSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AccountInfoStatus ¶
type AccountInfoStatus struct { }
AccountInfoStatus defines the observed state of AccountInfo
func (*AccountInfoStatus) DeepCopy ¶
func (in *AccountInfoStatus) DeepCopy() *AccountInfoStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AccountInfoStatus.
func (*AccountInfoStatus) DeepCopyInto ¶
func (in *AccountInfoStatus) DeepCopyInto(out *AccountInfoStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AccountList ¶
type AccountList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Account `json:"items"` }
AccountList contains a list of Account
func (*AccountList) DeepCopy ¶
func (in *AccountList) DeepCopy() *AccountList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AccountList.
func (*AccountList) DeepCopyInto ¶
func (in *AccountList) DeepCopyInto(out *AccountList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AccountList) DeepCopyObject ¶
func (in *AccountList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type AccountLocation ¶
type AccountLocation struct { Name string `json:"name"` // The GeneratedClusterId represents the cluster id of the workspace that was generated for a given account GeneratedClusterId string `json:"generatedClusterId"` // The OriginClusterId represents the cluster id of the workspace that holds the account resource that // lead to this workspace OriginClusterId string `json:"originClusterId"` Path string `json:"path"` URL string `json:"url"` Type AccountType `json:"type"` }
func (*AccountLocation) DeepCopy ¶
func (in *AccountLocation) DeepCopy() *AccountLocation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AccountLocation.
func (*AccountLocation) DeepCopyInto ¶
func (in *AccountLocation) DeepCopyInto(out *AccountLocation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AccountSpec ¶
type AccountSpec struct { // Type specifies the intended type for this Account object. // +kubebuilder:validation:Enum=org;account Type AccountType `json:"type"` // The display name for this account // +kubebuilder:validation:MaxLength=255 DisplayName string `json:"displayName"` // An optional description for this account Description *string `json:"description,omitempty"` // The initial creator of this account Creator *string `json:"creator,omitempty"` Extensions []Extension `json:"extensions,omitempty"` // Additional information that should be stored with the account Data *apiextensionsv1.JSON `json:"data,omitempty"` }
AccountSpec defines the desired state of Account
func (*AccountSpec) DeepCopy ¶
func (in *AccountSpec) DeepCopy() *AccountSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AccountSpec.
func (*AccountSpec) DeepCopyInto ¶
func (in *AccountSpec) DeepCopyInto(out *AccountSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AccountStatus ¶
type AccountStatus struct { Conditions []metav1.Condition `json:"conditions,omitempty"` ObservedGeneration int64 `json:"observedGeneration,omitempty" protobuf:"varint,3,opt,name=observedGeneration"` NextReconcileTime metav1.Time `json:"nextReconcileTime,omitempty"` }
AccountStatus defines the observed state of Account
func (*AccountStatus) DeepCopy ¶
func (in *AccountStatus) DeepCopy() *AccountStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AccountStatus.
func (*AccountStatus) DeepCopyInto ¶
func (in *AccountStatus) DeepCopyInto(out *AccountStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AccountType ¶
type AccountType string
type ClusterInfo ¶
type ClusterInfo struct {
CA string `json:"ca"`
}
func (*ClusterInfo) DeepCopy ¶
func (in *ClusterInfo) DeepCopy() *ClusterInfo
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterInfo.
func (*ClusterInfo) DeepCopyInto ¶
func (in *ClusterInfo) DeepCopyInto(out *ClusterInfo)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Extension ¶
type Extension struct { metav1.TypeMeta `json:",inline"` MetadataGoTemplate apiextensionsv1.JSON `json:"metadataGoTemplate,omitempty"` SpecGoTemplate apiextensionsv1.JSON `json:"specGoTemplate"` // The type of a condition that must be set to True on the Extension object // for the extension to be considered reconciled and ready. If this is empty, // the extension is considered ready. ReadyConditionType *string `json:"readyConditionType,omitempty"` }
func (*Extension) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Extension.
func (*Extension) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FGAInfo ¶
type FGAInfo struct {
Store StoreInfo `json:"store"`
}
func (*FGAInfo) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FGAInfo.
func (*FGAInfo) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type StoreInfo ¶
type StoreInfo struct {
Id string `json:"id"`
}
func (*StoreInfo) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StoreInfo.
func (*StoreInfo) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.