v1alpha1

package
v0.0.0-...-c7aeb27 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2021 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

+k8s:openapi-gen=true +k8s:protobuf-gen=package +groupName=storage.bulward.io

Index

Constants

View Source
const GroupName = "storage.bulward.io"

GroupName specifies the group name used to register the objects.

View Source
const (
	OrganizationTerminatingReason = "Deleting"
)
View Source
const (
	ProjectTerminatingReason = "Deleting"
)

Variables

View Source
var (
	ErrInvalidLengthGenerated        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowGenerated          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupGenerated = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	// localSchemeBuilder and AddToScheme will stay in k8s.io/kubernetes.
	SchemeBuilder runtime.SchemeBuilder

	AddToScheme = localSchemeBuilder.AddToScheme
)
View Source
var GroupVersion = v1.GroupVersion{Group: GroupName, Version: "v1alpha1"}

GroupVersion specifies the group and the version used to register the objects.

View Source
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1alpha1"}

SchemeGroupVersion is group version used to register these objects

Functions

func Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource

Types

type ConditionStatus

type ConditionStatus string

ConditionStatus represents a condition's status. +kubebuilder:validation:True;False;Unknown

const (
	// ConditionTrue represents the fact that a given condition is true
	ConditionTrue ConditionStatus = "True"

	// ConditionFalse represents the fact that a given condition is false
	ConditionFalse ConditionStatus = "False"

	// ConditionUnknown represents the fact that a given condition is unknown
	ConditionUnknown ConditionStatus = "Unknown"
)

These are valid condition statuses. "ConditionTrue" means a resource is in the condition; "ConditionFalse" means a resource is not in the condition; "ConditionUnknown" means Kubernetes can't decide if a resource is in the condition or not.

type ObjectReference

type ObjectReference struct {
	// +kubebuilder:validation:MinLength=1
	Name string `json:"name" protobuf:"string,1,opt,name=name"`
}

ObjectReference describes the link to another object in the same namespace.

func (*ObjectReference) DeepCopy

func (in *ObjectReference) DeepCopy() *ObjectReference

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

func (*ObjectReference) DeepCopyInto

func (in *ObjectReference) DeepCopyInto(out *ObjectReference)

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

func (*ObjectReference) Descriptor

func (*ObjectReference) Descriptor() ([]byte, []int)

func (*ObjectReference) Marshal

func (m *ObjectReference) Marshal() (dAtA []byte, err error)

func (*ObjectReference) MarshalTo

func (m *ObjectReference) MarshalTo(dAtA []byte) (int, error)

func (*ObjectReference) MarshalToSizedBuffer

func (m *ObjectReference) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ObjectReference) ProtoMessage

func (*ObjectReference) ProtoMessage()

func (*ObjectReference) Reset

func (m *ObjectReference) Reset()

func (*ObjectReference) Size

func (m *ObjectReference) Size() (n int)

func (*ObjectReference) String

func (this *ObjectReference) String() string

func (*ObjectReference) Unmarshal

func (m *ObjectReference) Unmarshal(dAtA []byte) error

func (*ObjectReference) XXX_DiscardUnknown

func (m *ObjectReference) XXX_DiscardUnknown()

func (*ObjectReference) XXX_Marshal

func (m *ObjectReference) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ObjectReference) XXX_Merge

func (m *ObjectReference) XXX_Merge(src proto.Message)

func (*ObjectReference) XXX_Size

func (m *ObjectReference) XXX_Size() int

func (*ObjectReference) XXX_Unmarshal

func (m *ObjectReference) XXX_Unmarshal(b []byte) error

type Organization

type Organization struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	Spec   OrganizationSpec   `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"`
	Status OrganizationStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"`
}

Organization is internal representation for Organization in Bulward. +kubebuilder:object:root=true +kubebuilder:subresource:status +kubebuilder:printcolumn:name="Organization Namespace",type="string",JSONPath=".status.namespace.name" +kubebuilder:printcolumn:name="Display Name",type="string",JSONPath=".spec.metadata.displayName" +kubebuilder:printcolumn:name="Status",type="string",JSONPath=".status.phase" +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:resource:scope=Cluster,shortName=iorg

func (*Organization) DeepCopy

func (in *Organization) DeepCopy() *Organization

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

func (*Organization) DeepCopyInto

func (in *Organization) DeepCopyInto(out *Organization)

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

func (*Organization) DeepCopyObject

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

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

func (*Organization) Descriptor

func (*Organization) Descriptor() ([]byte, []int)

func (*Organization) IsReady

func (s *Organization) IsReady() bool

IsReady returns if the Organization is ready.

func (*Organization) Marshal

func (m *Organization) Marshal() (dAtA []byte, err error)

func (*Organization) MarshalTo

func (m *Organization) MarshalTo(dAtA []byte) (int, error)

func (*Organization) MarshalToSizedBuffer

func (m *Organization) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Organization) ProtoMessage

func (*Organization) ProtoMessage()

func (*Organization) Reset

func (m *Organization) Reset()

func (*Organization) Size

func (m *Organization) Size() (n int)

func (*Organization) String

func (this *Organization) String() string

func (*Organization) Unmarshal

func (m *Organization) Unmarshal(dAtA []byte) error

func (*Organization) XXX_DiscardUnknown

func (m *Organization) XXX_DiscardUnknown()

func (*Organization) XXX_Marshal

func (m *Organization) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Organization) XXX_Merge

func (m *Organization) XXX_Merge(src proto.Message)

func (*Organization) XXX_Size

func (m *Organization) XXX_Size() int

func (*Organization) XXX_Unmarshal

func (m *Organization) XXX_Unmarshal(b []byte) error

type OrganizationCondition

type OrganizationCondition struct {
	// Type is the type of the Organization condition, currently ('Ready').
	Type OrganizationConditionType `json:"type" protobuf:"bytes,1,opt,name=type,casttype=OrganizationConditionType"`
	// Status is the status of the condition, one of ('True', 'False', 'Unknown').
	Status ConditionStatus `json:"status" protobuf:"bytes,2,opt,name=status,casttype=ConditionStatus"`
	// LastTransitionTime is the last time the condition transits from one status to another.
	LastTransitionTime metav1.Time `json:"lastTransitionTime" protobuf:"bytes,3,opt,name=lastTransitionTime"`
	// Reason is the (brief) reason for the condition's last transition.
	Reason string `json:"reason" protobuf:"bytes,4,opt,name=reason"`
	// Message is the human readable message indicating details about last transition.
	Message string `json:"message" protobuf:"bytes,5,opt,name=message"`
}

OrganizationCondition contains details for the current condition of this Organization.

func (*OrganizationCondition) DeepCopy

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

func (*OrganizationCondition) DeepCopyInto

func (in *OrganizationCondition) DeepCopyInto(out *OrganizationCondition)

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

func (*OrganizationCondition) Descriptor

func (*OrganizationCondition) Descriptor() ([]byte, []int)

func (*OrganizationCondition) Marshal

func (m *OrganizationCondition) Marshal() (dAtA []byte, err error)

func (*OrganizationCondition) MarshalTo

func (m *OrganizationCondition) MarshalTo(dAtA []byte) (int, error)

func (*OrganizationCondition) MarshalToSizedBuffer

func (m *OrganizationCondition) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*OrganizationCondition) ProtoMessage

func (*OrganizationCondition) ProtoMessage()

func (*OrganizationCondition) Reset

func (m *OrganizationCondition) Reset()

func (*OrganizationCondition) Size

func (m *OrganizationCondition) Size() (n int)

func (*OrganizationCondition) String

func (this *OrganizationCondition) String() string

func (*OrganizationCondition) Unmarshal

func (m *OrganizationCondition) Unmarshal(dAtA []byte) error

func (*OrganizationCondition) XXX_DiscardUnknown

func (m *OrganizationCondition) XXX_DiscardUnknown()

func (*OrganizationCondition) XXX_Marshal

func (m *OrganizationCondition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*OrganizationCondition) XXX_Merge

func (m *OrganizationCondition) XXX_Merge(src proto.Message)

func (*OrganizationCondition) XXX_Size

func (m *OrganizationCondition) XXX_Size() int

func (*OrganizationCondition) XXX_Unmarshal

func (m *OrganizationCondition) XXX_Unmarshal(b []byte) error

type OrganizationConditionType

type OrganizationConditionType string

OrganizationConditionType represents a OrganizationCondition value. +kubebuilder:validation:Ready

const (
	// OrganizationReady represents a Organization condition is in ready state.
	OrganizationReady OrganizationConditionType = "Ready"
)

type OrganizationList

type OrganizationList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
	Items           []Organization `json:"items" protobuf:"bytes,2,rep,name=items"`
}

OrganizationList contains a list of Organization. +kubebuilder:object:root=true

func (*OrganizationList) DeepCopy

func (in *OrganizationList) DeepCopy() *OrganizationList

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

func (*OrganizationList) DeepCopyInto

func (in *OrganizationList) DeepCopyInto(out *OrganizationList)

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

func (*OrganizationList) DeepCopyObject

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

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

func (*OrganizationList) Descriptor

func (*OrganizationList) Descriptor() ([]byte, []int)

func (*OrganizationList) Marshal

func (m *OrganizationList) Marshal() (dAtA []byte, err error)

func (*OrganizationList) MarshalTo

func (m *OrganizationList) MarshalTo(dAtA []byte) (int, error)

func (*OrganizationList) MarshalToSizedBuffer

func (m *OrganizationList) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*OrganizationList) ProtoMessage

func (*OrganizationList) ProtoMessage()

func (*OrganizationList) Reset

func (m *OrganizationList) Reset()

func (*OrganizationList) Size

func (m *OrganizationList) Size() (n int)

func (*OrganizationList) String

func (this *OrganizationList) String() string

func (*OrganizationList) Unmarshal

func (m *OrganizationList) Unmarshal(dAtA []byte) error

func (*OrganizationList) XXX_DiscardUnknown

func (m *OrganizationList) XXX_DiscardUnknown()

func (*OrganizationList) XXX_Marshal

func (m *OrganizationList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*OrganizationList) XXX_Merge

func (m *OrganizationList) XXX_Merge(src proto.Message)

func (*OrganizationList) XXX_Size

func (m *OrganizationList) XXX_Size() int

func (*OrganizationList) XXX_Unmarshal

func (m *OrganizationList) XXX_Unmarshal(b []byte) error

type OrganizationMetadata

type OrganizationMetadata struct {
	// DisplayName is the human-readable name of this Organization.
	// +kubebuilder:validation:MinLength=1
	DisplayName string `json:"displayName" protobuf:"bytes,1,opt,name=displayName"`
	// Description is the long and detailed description of the Organization.
	// +kubebuilder:validation:MinLength=1
	Description string `json:"description" protobuf:"bytes,2,opt,name=description"`
}

OrganizationMetadata contains the metadata of the Organization.

func (*OrganizationMetadata) DeepCopy

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

func (*OrganizationMetadata) DeepCopyInto

func (in *OrganizationMetadata) DeepCopyInto(out *OrganizationMetadata)

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

func (*OrganizationMetadata) Descriptor

func (*OrganizationMetadata) Descriptor() ([]byte, []int)

func (*OrganizationMetadata) Marshal

func (m *OrganizationMetadata) Marshal() (dAtA []byte, err error)

func (*OrganizationMetadata) MarshalTo

func (m *OrganizationMetadata) MarshalTo(dAtA []byte) (int, error)

func (*OrganizationMetadata) MarshalToSizedBuffer

func (m *OrganizationMetadata) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*OrganizationMetadata) ProtoMessage

func (*OrganizationMetadata) ProtoMessage()

func (*OrganizationMetadata) Reset

func (m *OrganizationMetadata) Reset()

func (*OrganizationMetadata) Size

func (m *OrganizationMetadata) Size() (n int)

func (*OrganizationMetadata) String

func (this *OrganizationMetadata) String() string

func (*OrganizationMetadata) Unmarshal

func (m *OrganizationMetadata) Unmarshal(dAtA []byte) error

func (*OrganizationMetadata) XXX_DiscardUnknown

func (m *OrganizationMetadata) XXX_DiscardUnknown()

func (*OrganizationMetadata) XXX_Marshal

func (m *OrganizationMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*OrganizationMetadata) XXX_Merge

func (m *OrganizationMetadata) XXX_Merge(src proto.Message)

func (*OrganizationMetadata) XXX_Size

func (m *OrganizationMetadata) XXX_Size() int

func (*OrganizationMetadata) XXX_Unmarshal

func (m *OrganizationMetadata) XXX_Unmarshal(b []byte) error

type OrganizationPhaseType

type OrganizationPhaseType string

OrganizationPhaseType represents all conditions as a single string for printing by using kubectl commands. +kubebuilder:validation:Ready;NotReady;Unknown;Terminating

const (
	OrganizationPhaseReady       OrganizationPhaseType = "Ready"
	OrganizationPhaseNotReady    OrganizationPhaseType = "NotReady"
	OrganizationPhaseUnknown     OrganizationPhaseType = "Unknown"
	OrganizationPhaseTerminating OrganizationPhaseType = "Terminating"
)

Values of OrganizationPhaseType.

type OrganizationSpec

type OrganizationSpec struct {
	// Metadata	contains additional human readable Organization details.
	Metadata *OrganizationMetadata `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
	// Owners holds the RBAC subjects that represent the owners of this organization.
	// +kubebuilder:validation:MinItems=1
	Owners []rbacv1.Subject `json:"owners" protobuf:"bytes,2,rep,name=owners"`
}

OrganizationSpec describes the desired state of Organization.

func (*OrganizationSpec) DeepCopy

func (in *OrganizationSpec) DeepCopy() *OrganizationSpec

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

func (*OrganizationSpec) DeepCopyInto

func (in *OrganizationSpec) DeepCopyInto(out *OrganizationSpec)

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

func (*OrganizationSpec) Descriptor

func (*OrganizationSpec) Descriptor() ([]byte, []int)

func (*OrganizationSpec) Marshal

func (m *OrganizationSpec) Marshal() (dAtA []byte, err error)

func (*OrganizationSpec) MarshalTo

func (m *OrganizationSpec) MarshalTo(dAtA []byte) (int, error)

func (*OrganizationSpec) MarshalToSizedBuffer

func (m *OrganizationSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*OrganizationSpec) ProtoMessage

func (*OrganizationSpec) ProtoMessage()

func (*OrganizationSpec) Reset

func (m *OrganizationSpec) Reset()

func (*OrganizationSpec) Size

func (m *OrganizationSpec) Size() (n int)

func (*OrganizationSpec) String

func (this *OrganizationSpec) String() string

func (*OrganizationSpec) Unmarshal

func (m *OrganizationSpec) Unmarshal(dAtA []byte) error

func (*OrganizationSpec) XXX_DiscardUnknown

func (m *OrganizationSpec) XXX_DiscardUnknown()

func (*OrganizationSpec) XXX_Marshal

func (m *OrganizationSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*OrganizationSpec) XXX_Merge

func (m *OrganizationSpec) XXX_Merge(src proto.Message)

func (*OrganizationSpec) XXX_Size

func (m *OrganizationSpec) XXX_Size() int

func (*OrganizationSpec) XXX_Unmarshal

func (m *OrganizationSpec) XXX_Unmarshal(b []byte) error

type OrganizationStatus

type OrganizationStatus struct {
	// NamespaceName is the name of the Namespace that the Organization manages.
	Namespace *ObjectReference `json:"namespace,omitempty" protobuf:"bytes,1,opt,name=namespace"`
	// ObservedGeneration is the most recent generation observed for this Organization by the controller.
	ObservedGeneration int64 `json:"observedGeneration,omitempty" protobuf:"varint,2,opt,name=observedGeneration"`
	// Conditions represents the latest available observations of a Organization's current state.
	Conditions []OrganizationCondition `json:"conditions,omitempty" protobuf:"bytes,3,rep,name=conditions"`
	// DEPRECATED.
	// Phase represents the current lifecycle state of this object.
	// Consider this field DEPRECATED, it will be removed as soon as there
	// is a mechanism to map conditions to strings when printing the property.
	// This is only for display purpose, for everything else use conditions.
	Phase OrganizationPhaseType `json:"phase,omitempty" protobuf:"bytes,4,opt,name=phase,casttype=OrganizationPhaseType"`

	// Members enumerate all rbacv1.Subject mentioned in the Organization RoleBinding's
	Members []rbacv1.Subject `json:"members,omitempty" protobuf:"bytes,5,rep,name=members"`
}

OrganizationStatus represents the observed state of Organization.

func (*OrganizationStatus) DeepCopy

func (in *OrganizationStatus) DeepCopy() *OrganizationStatus

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

func (*OrganizationStatus) DeepCopyInto

func (in *OrganizationStatus) DeepCopyInto(out *OrganizationStatus)

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

func (*OrganizationStatus) Descriptor

func (*OrganizationStatus) Descriptor() ([]byte, []int)

func (*OrganizationStatus) GetCondition

func (s *OrganizationStatus) GetCondition(t OrganizationConditionType) (condition OrganizationCondition, exists bool)

GetCondition returns the Condition of the given condition type, if it exists.

func (*OrganizationStatus) Marshal

func (m *OrganizationStatus) Marshal() (dAtA []byte, err error)

func (*OrganizationStatus) MarshalTo

func (m *OrganizationStatus) MarshalTo(dAtA []byte) (int, error)

func (*OrganizationStatus) MarshalToSizedBuffer

func (m *OrganizationStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*OrganizationStatus) ProtoMessage

func (*OrganizationStatus) ProtoMessage()

func (*OrganizationStatus) Reset

func (m *OrganizationStatus) Reset()

func (*OrganizationStatus) SetCondition

func (s *OrganizationStatus) SetCondition(condition OrganizationCondition)

SetCondition replaces or adds the given condition.

func (*OrganizationStatus) Size

func (m *OrganizationStatus) Size() (n int)

func (*OrganizationStatus) String

func (this *OrganizationStatus) String() string

func (*OrganizationStatus) Unmarshal

func (m *OrganizationStatus) Unmarshal(dAtA []byte) error

func (*OrganizationStatus) XXX_DiscardUnknown

func (m *OrganizationStatus) XXX_DiscardUnknown()

func (*OrganizationStatus) XXX_Marshal

func (m *OrganizationStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*OrganizationStatus) XXX_Merge

func (m *OrganizationStatus) XXX_Merge(src proto.Message)

func (*OrganizationStatus) XXX_Size

func (m *OrganizationStatus) XXX_Size() int

func (*OrganizationStatus) XXX_Unmarshal

func (m *OrganizationStatus) XXX_Unmarshal(b []byte) error

type Project

type Project struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	Spec   ProjectSpec   `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"`
	Status ProjectStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"`
}

Project is internal representation for Project in Bulward. +kubebuilder:object:root=true +kubebuilder:subresource:status +kubebuilder:printcolumn:name="Project Namespace",type="string",JSONPath=".status.namespace.name" +kubebuilder:printcolumn:name="Display Name",type="string",JSONPath=".metadata.name" +kubebuilder:printcolumn:name="Status",type="string",JSONPath=".status.phase" +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:resource:scope=Namespaced,shortName=iprj

func (*Project) DeepCopy

func (in *Project) DeepCopy() *Project

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

func (*Project) DeepCopyInto

func (in *Project) DeepCopyInto(out *Project)

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

func (*Project) DeepCopyObject

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

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

func (*Project) Descriptor

func (*Project) Descriptor() ([]byte, []int)

func (*Project) IsReady

func (s *Project) IsReady() bool

IsReady returns if the Project is ready.

func (*Project) Marshal

func (m *Project) Marshal() (dAtA []byte, err error)

func (*Project) MarshalTo

func (m *Project) MarshalTo(dAtA []byte) (int, error)

func (*Project) MarshalToSizedBuffer

func (m *Project) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Project) ProtoMessage

func (*Project) ProtoMessage()

func (*Project) Reset

func (m *Project) Reset()

func (*Project) Size

func (m *Project) Size() (n int)

func (*Project) String

func (this *Project) String() string

func (*Project) Unmarshal

func (m *Project) Unmarshal(dAtA []byte) error

func (*Project) XXX_DiscardUnknown

func (m *Project) XXX_DiscardUnknown()

func (*Project) XXX_Marshal

func (m *Project) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Project) XXX_Merge

func (m *Project) XXX_Merge(src proto.Message)

func (*Project) XXX_Size

func (m *Project) XXX_Size() int

func (*Project) XXX_Unmarshal

func (m *Project) XXX_Unmarshal(b []byte) error

type ProjectCondition

type ProjectCondition struct {
	// Type is the type of the Project condition, currently ('Ready').
	Type ProjectConditionType `json:"type" protobuf:"bytes,1,opt,name=type"`
	// Status is the status of the condition, one of ('True', 'False', 'Unknown').
	Status ConditionStatus `json:"status" protobuf:"bytes,2,opt,name=status"`
	// LastTransitionTime is the last time the condition transits from one status to another.
	LastTransitionTime metav1.Time `json:"lastTransitionTime" protobuf:"bytes,3,opt,name=lastTransitionTime"`
	// Reason is the (brief) reason for the condition's last transition.
	Reason string `json:"reason" protobuf:"bytes,4,opt,name=reason"`
	// Message is the human readable message indicating details about last transition.
	Message string `json:"message" protobuf:"bytes,5,opt,name=message"`
}

ProjectCondition contains details for the current condition of this Project.

func (*ProjectCondition) DeepCopy

func (in *ProjectCondition) DeepCopy() *ProjectCondition

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

func (*ProjectCondition) DeepCopyInto

func (in *ProjectCondition) DeepCopyInto(out *ProjectCondition)

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

func (*ProjectCondition) Descriptor

func (*ProjectCondition) Descriptor() ([]byte, []int)

func (*ProjectCondition) Marshal

func (m *ProjectCondition) Marshal() (dAtA []byte, err error)

func (*ProjectCondition) MarshalTo

func (m *ProjectCondition) MarshalTo(dAtA []byte) (int, error)

func (*ProjectCondition) MarshalToSizedBuffer

func (m *ProjectCondition) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ProjectCondition) ProtoMessage

func (*ProjectCondition) ProtoMessage()

func (*ProjectCondition) Reset

func (m *ProjectCondition) Reset()

func (*ProjectCondition) Size

func (m *ProjectCondition) Size() (n int)

func (*ProjectCondition) String

func (this *ProjectCondition) String() string

func (*ProjectCondition) Unmarshal

func (m *ProjectCondition) Unmarshal(dAtA []byte) error

func (*ProjectCondition) XXX_DiscardUnknown

func (m *ProjectCondition) XXX_DiscardUnknown()

func (*ProjectCondition) XXX_Marshal

func (m *ProjectCondition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ProjectCondition) XXX_Merge

func (m *ProjectCondition) XXX_Merge(src proto.Message)

func (*ProjectCondition) XXX_Size

func (m *ProjectCondition) XXX_Size() int

func (*ProjectCondition) XXX_Unmarshal

func (m *ProjectCondition) XXX_Unmarshal(b []byte) error

type ProjectConditionType

type ProjectConditionType string

ProjectConditionType represents a ProjectCondition value. +kubebuilder:validation:Ready

const (
	// OProjectReady represents a Project condition is in ready state.
	ProjectReady ProjectConditionType = "Ready"
)

type ProjectList

type ProjectList struct {
	metav1.TypeMeta `json:",inline"  protobuf:"bytes,2,opt,name=sample"`
	metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
	Items           []Project `json:"items" protobuf:"bytes,2,rep,name=items"`
}

ProjectList contains a list of Projects. +kubebuilder:object:root=true

func (*ProjectList) DeepCopy

func (in *ProjectList) DeepCopy() *ProjectList

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

func (*ProjectList) DeepCopyInto

func (in *ProjectList) DeepCopyInto(out *ProjectList)

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

func (*ProjectList) DeepCopyObject

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

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

func (*ProjectList) Descriptor

func (*ProjectList) Descriptor() ([]byte, []int)

func (*ProjectList) Marshal

func (m *ProjectList) Marshal() (dAtA []byte, err error)

func (*ProjectList) MarshalTo

func (m *ProjectList) MarshalTo(dAtA []byte) (int, error)

func (*ProjectList) MarshalToSizedBuffer

func (m *ProjectList) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ProjectList) ProtoMessage

func (*ProjectList) ProtoMessage()

func (*ProjectList) Reset

func (m *ProjectList) Reset()

func (*ProjectList) Size

func (m *ProjectList) Size() (n int)

func (*ProjectList) String

func (this *ProjectList) String() string

func (*ProjectList) Unmarshal

func (m *ProjectList) Unmarshal(dAtA []byte) error

func (*ProjectList) XXX_DiscardUnknown

func (m *ProjectList) XXX_DiscardUnknown()

func (*ProjectList) XXX_Marshal

func (m *ProjectList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ProjectList) XXX_Merge

func (m *ProjectList) XXX_Merge(src proto.Message)

func (*ProjectList) XXX_Size

func (m *ProjectList) XXX_Size() int

func (*ProjectList) XXX_Unmarshal

func (m *ProjectList) XXX_Unmarshal(b []byte) error

type ProjectPhaseType

type ProjectPhaseType string

ProjectPhaseType represents all conditions as a single string for printing by using kubectl commands. +kubebuilder:validation:Ready;NotReady;Unknown;Terminating

const (
	ProjectPhaseReady       ProjectPhaseType = "Ready"
	ProjectPhaseNotReady    ProjectPhaseType = "NotReady"
	ProjectPhaseUnknown     ProjectPhaseType = "Unknown"
	ProjectPhaseTerminating ProjectPhaseType = "Terminating"
)

Values of ProjectPhaseType.

type ProjectSpec

type ProjectSpec struct {
	// Owners holds the RBAC subjects that represent the owners of this project.
	// +kubebuilder:validation:MinItems=1
	Owners []rbacv1.Subject `json:"owners" protobuf:"bytes,1,opt,name=owners"`
}

ProjectSpec describes the desired state of Project.

func (*ProjectSpec) DeepCopy

func (in *ProjectSpec) DeepCopy() *ProjectSpec

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

func (*ProjectSpec) DeepCopyInto

func (in *ProjectSpec) DeepCopyInto(out *ProjectSpec)

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

func (*ProjectSpec) Descriptor

func (*ProjectSpec) Descriptor() ([]byte, []int)

func (*ProjectSpec) Marshal

func (m *ProjectSpec) Marshal() (dAtA []byte, err error)

func (*ProjectSpec) MarshalTo

func (m *ProjectSpec) MarshalTo(dAtA []byte) (int, error)

func (*ProjectSpec) MarshalToSizedBuffer

func (m *ProjectSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ProjectSpec) ProtoMessage

func (*ProjectSpec) ProtoMessage()

func (*ProjectSpec) Reset

func (m *ProjectSpec) Reset()

func (*ProjectSpec) Size

func (m *ProjectSpec) Size() (n int)

func (*ProjectSpec) String

func (this *ProjectSpec) String() string

func (*ProjectSpec) Unmarshal

func (m *ProjectSpec) Unmarshal(dAtA []byte) error

func (*ProjectSpec) XXX_DiscardUnknown

func (m *ProjectSpec) XXX_DiscardUnknown()

func (*ProjectSpec) XXX_Marshal

func (m *ProjectSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ProjectSpec) XXX_Merge

func (m *ProjectSpec) XXX_Merge(src proto.Message)

func (*ProjectSpec) XXX_Size

func (m *ProjectSpec) XXX_Size() int

func (*ProjectSpec) XXX_Unmarshal

func (m *ProjectSpec) XXX_Unmarshal(b []byte) error

type ProjectStatus

type ProjectStatus struct {
	// NamespaceName is the name of the Namespace that the Project manages.
	Namespace *ObjectReference `json:"namespace,omitempty" protobuf:"bytes,1,opt,name=namespace"`
	// ObservedGeneration is the most recent generation observed for this Project by the controller.
	ObservedGeneration int64 `json:"observedGeneration,omitempty" protobuf:"bytes,2,opt,name=observedGeneration"`
	// Conditions represents the latest available observations of a Project's current state.
	Conditions []ProjectCondition `json:"conditions,omitempty" protobuf:"bytes,3,opt,name=conditions"`
	// DEPRECATED.
	// Phase represents the current lifecycle state of this object.
	// Consider this field DEPRECATED, it will be removed as soon as there
	// is a mechanism to map conditions to strings when printing the property.
	// This is only for display purpose, for everything else use conditions.
	Phase ProjectPhaseType `json:"phase,omitempty" protobuf:"bytes,4,opt,name=phase"`

	// Members enumerate all rbacv1.Subject mentioned in the Project's RoleBinding's
	Members []rbacv1.Subject `json:"members,omitempty" protobuf:"bytes,5,rep,name=members"`
}

ProjectStatus describes the observed state of Project.

func (*ProjectStatus) DeepCopy

func (in *ProjectStatus) DeepCopy() *ProjectStatus

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

func (*ProjectStatus) DeepCopyInto

func (in *ProjectStatus) DeepCopyInto(out *ProjectStatus)

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

func (*ProjectStatus) Descriptor

func (*ProjectStatus) Descriptor() ([]byte, []int)

func (*ProjectStatus) GetCondition

func (s *ProjectStatus) GetCondition(t ProjectConditionType) (condition ProjectCondition, exists bool)

GetCondition returns the Condition of the given condition type, if it exists.

func (*ProjectStatus) Marshal

func (m *ProjectStatus) Marshal() (dAtA []byte, err error)

func (*ProjectStatus) MarshalTo

func (m *ProjectStatus) MarshalTo(dAtA []byte) (int, error)

func (*ProjectStatus) MarshalToSizedBuffer

func (m *ProjectStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ProjectStatus) ProtoMessage

func (*ProjectStatus) ProtoMessage()

func (*ProjectStatus) Reset

func (m *ProjectStatus) Reset()

func (*ProjectStatus) SetCondition

func (s *ProjectStatus) SetCondition(condition ProjectCondition)

SetCondition replaces or adds the given condition.

func (*ProjectStatus) Size

func (m *ProjectStatus) Size() (n int)

func (*ProjectStatus) String

func (this *ProjectStatus) String() string

func (*ProjectStatus) Unmarshal

func (m *ProjectStatus) Unmarshal(dAtA []byte) error

func (*ProjectStatus) XXX_DiscardUnknown

func (m *ProjectStatus) XXX_DiscardUnknown()

func (*ProjectStatus) XXX_Marshal

func (m *ProjectStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ProjectStatus) XXX_Merge

func (m *ProjectStatus) XXX_Merge(src proto.Message)

func (*ProjectStatus) XXX_Size

func (m *ProjectStatus) XXX_Size() int

func (*ProjectStatus) XXX_Unmarshal

func (m *ProjectStatus) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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