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
- type AuthorizationModel
- func (in *AuthorizationModel) DeepCopy() *AuthorizationModel
- func (in *AuthorizationModel) DeepCopyInto(out *AuthorizationModel)
- func (in *AuthorizationModel) DeepCopyObject() runtime.Object
- func (in *AuthorizationModel) GetConditions() []metav1.Condition
- func (in *AuthorizationModel) SetConditions(conditions []metav1.Condition)
- type AuthorizationModelList
- type AuthorizationModelSpec
- type AuthorizationModelStatus
- type Store
- type StoreList
- type StoreSpec
- type StoreStatus
- type Tuple
- type WorkspaceStoreRef
Constants ¶
const (
StoreRefLabelKey = "core.platform-mesh.io/store-name"
)
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 ¶
This section is empty.
Types ¶
type AuthorizationModel ¶
type AuthorizationModel struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec AuthorizationModelSpec `json:"spec,omitempty"`
Status AuthorizationModelStatus `json:"status,omitempty"`
}
AuthorizationModel is the Schema for the authorizationmodels API.
func (*AuthorizationModel) DeepCopy ¶
func (in *AuthorizationModel) DeepCopy() *AuthorizationModel
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthorizationModel.
func (*AuthorizationModel) DeepCopyInto ¶
func (in *AuthorizationModel) DeepCopyInto(out *AuthorizationModel)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AuthorizationModel) DeepCopyObject ¶
func (in *AuthorizationModel) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*AuthorizationModel) GetConditions ¶
func (in *AuthorizationModel) GetConditions() []metav1.Condition
GetConditions implements lifecycle.RuntimeObjectConditions.
func (*AuthorizationModel) SetConditions ¶
func (in *AuthorizationModel) SetConditions(conditions []metav1.Condition)
SetConditions implements lifecycle.RuntimeObjectConditions.
type AuthorizationModelList ¶
type AuthorizationModelList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []AuthorizationModel `json:"items"`
}
AuthorizationModelList contains a list of AuthorizationModel.
func (*AuthorizationModelList) DeepCopy ¶
func (in *AuthorizationModelList) DeepCopy() *AuthorizationModelList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthorizationModelList.
func (*AuthorizationModelList) DeepCopyInto ¶
func (in *AuthorizationModelList) DeepCopyInto(out *AuthorizationModelList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AuthorizationModelList) DeepCopyObject ¶
func (in *AuthorizationModelList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type AuthorizationModelSpec ¶
type AuthorizationModelSpec struct {
StoreRef WorkspaceStoreRef `json:"storeRef"`
Model string `json:"model"`
Tuples []Tuple `json:"tuples,omitempty"`
}
AuthorizationModelSpec defines the desired state of AuthorizationModel.
func (*AuthorizationModelSpec) DeepCopy ¶
func (in *AuthorizationModelSpec) DeepCopy() *AuthorizationModelSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthorizationModelSpec.
func (*AuthorizationModelSpec) DeepCopyInto ¶
func (in *AuthorizationModelSpec) DeepCopyInto(out *AuthorizationModelSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AuthorizationModelStatus ¶
type AuthorizationModelStatus struct {
Conditions []metav1.Condition `json:"conditions,omitempty"`
ManagedTuples []Tuple `json:"managedTuples,omitempty"`
}
AuthorizationModelStatus defines the observed state of AuthorizationModel.
func (*AuthorizationModelStatus) DeepCopy ¶
func (in *AuthorizationModelStatus) DeepCopy() *AuthorizationModelStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AuthorizationModelStatus.
func (*AuthorizationModelStatus) DeepCopyInto ¶
func (in *AuthorizationModelStatus) DeepCopyInto(out *AuthorizationModelStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Store ¶
type Store struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec StoreSpec `json:"spec,omitempty"`
Status StoreStatus `json:"status,omitempty"`
}
Store is the Schema for the stores API.
func (*Store) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Store.
func (*Store) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Store) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Store) GetConditions ¶
GetConditions implements lifecycle.RuntimeObjectConditions.
func (*Store) SetConditions ¶
SetConditions implements lifecycle.RuntimeObjectConditions.
type StoreList ¶
type StoreList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []Store `json:"items"`
}
StoreList contains a list of Store.
func (*StoreList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StoreList.
func (*StoreList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*StoreList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type StoreSpec ¶
type StoreSpec struct {
CoreModule string `json:"coreModule"`
Tuples []Tuple `json:"tuples,omitempty"`
}
StoreSpec defines the desired state of Store.
func (*StoreSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StoreSpec.
func (*StoreSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type StoreStatus ¶
type StoreStatus struct {
Conditions []metav1.Condition `json:"conditions,omitempty"`
StoreID string `json:"storeId,omitempty"`
AuthorizationModelID string `json:"authorizationModelId,omitempty"`
ManagedTuples []Tuple `json:"managedTuples,omitempty"`
}
StoreStatus defines the observed state of Store.
func (*StoreStatus) DeepCopy ¶
func (in *StoreStatus) DeepCopy() *StoreStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StoreStatus.
func (*StoreStatus) DeepCopyInto ¶
func (in *StoreStatus) DeepCopyInto(out *StoreStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Tuple ¶
type Tuple struct {
Object string `json:"object"`
Relation string `json:"relation"`
User string `json:"user"`
}
func (*Tuple) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Tuple.
func (*Tuple) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type WorkspaceStoreRef ¶
func (*WorkspaceStoreRef) DeepCopy ¶
func (in *WorkspaceStoreRef) DeepCopy() *WorkspaceStoreRef
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkspaceStoreRef.
func (*WorkspaceStoreRef) DeepCopyInto ¶
func (in *WorkspaceStoreRef) DeepCopyInto(out *WorkspaceStoreRef)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.