v1alpha1

package
v0.0.0-...-29705e9 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

+k8s:deepcopy-gen=package

Index

Constants

View Source
const (
	AnnotationPrefix = "openfga.zeiss.com/auth."
	FinalizerName    = "openfga.zeiss.com/finalizer"
)

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "openfga.zeiss.com", 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 Model

type Model struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   ModelSpec   `json:"spec,omitempty"`
	Status ModelStatus `json:"status,omitempty"`
}

func (*Model) DeepCopy

func (in *Model) DeepCopy() *Model

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

func (*Model) DeepCopyInto

func (in *Model) DeepCopyInto(out *Model)

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

func (*Model) DeepCopyObject

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

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

type ModelList

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

ModelList contains a list of Models

func (*ModelList) DeepCopy

func (in *ModelList) DeepCopy() *ModelList

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

func (*ModelList) DeepCopyInto

func (in *ModelList) DeepCopyInto(out *ModelList)

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

func (*ModelList) DeepCopyObject

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

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

type ModelPhase

type ModelPhase string
const (
	ModelPhaseNone         ModelPhase = ""
	ModelPhasePending      ModelPhase = "Pending"
	ModelPhaseCreating     ModelPhase = "Creating"
	ModelPhaseSynchronized ModelPhase = "Synchronized"
	ModelPhaseFailed       ModelPhase = "Failed"
)

type ModelSpec

type ModelSpec struct {
	StoreRef StoreRef `json:"storeRef"`
	Model    string   `json:"model"`
}

ModelSpec defines the desired state of Store

func (*ModelSpec) DeepCopy

func (in *ModelSpec) DeepCopy() *ModelSpec

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

func (*ModelSpec) DeepCopyInto

func (in *ModelSpec) DeepCopyInto(out *ModelSpec)

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

type ModelStatus

type ModelStatus struct {
	// Phase is the current state of Store.
	Phase ModelPhase `json:"phase"`
	// ControlPaused indicates the operator pauses the control of the store.
	ControlPaused bool `json:"controlPaused,omitempty"`
	// InstanceID is the unique identifier of the store.
	InstanceID string `json:"instanceID"`
}

ModelStatus defines the observed state of the Model +k8s:openapi-gen=true

func (*ModelStatus) DeepCopy

func (in *ModelStatus) DeepCopy() *ModelStatus

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

func (*ModelStatus) DeepCopyInto

func (in *ModelStatus) DeepCopyInto(out *ModelStatus)

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"`
}

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.

type StoreList

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

StoreList contains a list of Stores

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 StorePhase

type StorePhase string
const (
	StorePhaseNone         StorePhase = ""
	StorePhasePending      StorePhase = "Pending"
	StorePhaseCreating     StorePhase = "Creating"
	StorePhaseSynchronized StorePhase = "Synchronized"
	StorePhaseFailed       StorePhase = "Failed"
)

type StoreRef

type StoreRef struct {
	// Name is the name of the store.
	Name string `json:"name"`
}

StoreRef defines the reference to the store.

func (*StoreRef) DeepCopy

func (in *StoreRef) DeepCopy() *StoreRef

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

func (*StoreRef) DeepCopyInto

func (in *StoreRef) DeepCopyInto(out *StoreRef)

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

type StoreSpec

type StoreSpec struct {
	StoreRef string `json:"storeRef,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 {
	// Phase is the current state of Store.
	Phase StorePhase `json:"phase"`
	// ControlPaused indicates the operator pauses the control of the store.
	ControlPaused bool `json:"controlPaused,omitempty"`
	// StoreID is the unique identifier of the store.
	StoreID string `json:"storeID"`
}

StoreStatus defines the observed state of Store +k8s:openapi-gen=true

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.

Jump to

Keyboard shortcuts

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