v1alpha1

package
v0.7.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 14, 2025 License: Apache-2.0 Imports: 6 Imported by: 0

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

View Source
const (
	StoreRefLabelKey = "core.platform-mesh.io/store-name"
)

Variables

View Source
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

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

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

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 Invite added in v0.7.1

type Invite struct {
	metav1.TypeMeta `json:",inline"`

	// metadata is a standard object metadata
	// +optional
	metav1.ObjectMeta `json:"metadata,omitempty,omitzero"`

	// spec defines the desired state of Invite
	// +required
	Spec InviteSpec `json:"spec"`

	// status defines the observed state of Invite
	// +optional
	Status InviteStatus `json:"status,omitempty,omitzero"`
}

Invite is the Schema for the invites API

func (*Invite) DeepCopy added in v0.7.1

func (in *Invite) DeepCopy() *Invite

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Invite.

func (*Invite) DeepCopyInto added in v0.7.1

func (in *Invite) DeepCopyInto(out *Invite)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Invite) DeepCopyObject added in v0.7.1

func (in *Invite) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*Invite) GetConditions added in v0.7.1

func (in *Invite) GetConditions() []metav1.Condition

GetConditions implements api.RuntimeObjectConditions.

func (*Invite) SetConditions added in v0.7.1

func (in *Invite) SetConditions(c []metav1.Condition)

SetConditions implements api.RuntimeObjectConditions.

type InviteList added in v0.7.1

type InviteList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []Invite `json:"items"`
}

InviteList contains a list of Invite

func (*InviteList) DeepCopy added in v0.7.1

func (in *InviteList) DeepCopy() *InviteList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InviteList.

func (*InviteList) DeepCopyInto added in v0.7.1

func (in *InviteList) DeepCopyInto(out *InviteList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*InviteList) DeepCopyObject added in v0.7.1

func (in *InviteList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type InviteSpec added in v0.7.1

type InviteSpec struct {
	Email string `json:"email"`
}

InviteSpec defines the desired state of Invite

func (*InviteSpec) DeepCopy added in v0.7.1

func (in *InviteSpec) DeepCopy() *InviteSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InviteSpec.

func (*InviteSpec) DeepCopyInto added in v0.7.1

func (in *InviteSpec) DeepCopyInto(out *InviteSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type InviteStatus added in v0.7.1

type InviteStatus struct {
	Conditions []metav1.Condition `json:"conditions,omitempty"`
}

InviteStatus defines the observed state of Invite.

func (*InviteStatus) DeepCopy added in v0.7.1

func (in *InviteStatus) DeepCopy() *InviteStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InviteStatus.

func (*InviteStatus) DeepCopyInto added in v0.7.1

func (in *InviteStatus) DeepCopyInto(out *InviteStatus)

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

func (in *Store) DeepCopy() *Store

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Store.

func (*Store) DeepCopyInto

func (in *Store) DeepCopyInto(out *Store)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Store) DeepCopyObject

func (in *Store) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*Store) GetConditions

func (in *Store) GetConditions() []metav1.Condition

GetConditions implements lifecycle.RuntimeObjectConditions.

func (*Store) SetConditions

func (in *Store) SetConditions(conditions []metav1.Condition)

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

func (in *StoreList) DeepCopy() *StoreList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StoreList.

func (*StoreList) DeepCopyInto

func (in *StoreList) DeepCopyInto(out *StoreList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*StoreList) DeepCopyObject

func (in *StoreList) DeepCopyObject() runtime.Object

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

func (in *StoreSpec) DeepCopy() *StoreSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StoreSpec.

func (*StoreSpec) DeepCopyInto

func (in *StoreSpec) DeepCopyInto(out *StoreSpec)

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

func (in *Tuple) DeepCopy() *Tuple

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Tuple.

func (*Tuple) DeepCopyInto

func (in *Tuple) DeepCopyInto(out *Tuple)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (Tuple) String

func (t Tuple) String() string

type WorkspaceStoreRef

type WorkspaceStoreRef struct {
	Name string `json:"name"`
	Path string `json:"path"`
}

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL