v1beta1

package
v0.0.0-...-49f5ef6 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	GroupName = "storage.kubeception.io"
	Version   = "v1beta1"
)

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 (
	// SchemeBuilder initializes a scheme builder
	SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes)
	// AddToScheme is a global function that registers this API group & version to a scheme
	AddToScheme = SchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: Version}

SchemeGroupVersion is a group version used to register these objects

Functions

func Kind

func Kind(kind string) schema.GroupKind

Kind takes an unqualified kind and returns a Group qualified GroupKind

func Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource

Types

type StorageBackend

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

	// Standard object's metadata.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	// +optional
	metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	// Specification of the desired behavior of a StorageBackend.
	// +optional
	Spec StorageBackendSpec `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"`

	// Current status of a StorageBackend.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
	// +optional
	Status StorageBackendStatus `json:"status" protobuf:"bytes,3,opt,name=status"`
}

func (*StorageBackend) DeepCopy

func (in *StorageBackend) DeepCopy() *StorageBackend

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

func (*StorageBackend) DeepCopyInto

func (in *StorageBackend) DeepCopyInto(out *StorageBackend)

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

func (*StorageBackend) DeepCopyObject

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

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

func (*StorageBackend) Descriptor

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

func (*StorageBackend) Marshal

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

func (*StorageBackend) MarshalTo

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

func (*StorageBackend) MarshalToSizedBuffer

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

func (*StorageBackend) ProtoMessage

func (*StorageBackend) ProtoMessage()

func (*StorageBackend) Reset

func (m *StorageBackend) Reset()

func (*StorageBackend) Size

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

func (*StorageBackend) String

func (this *StorageBackend) String() string

func (*StorageBackend) Unmarshal

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

func (*StorageBackend) XXX_DiscardUnknown

func (m *StorageBackend) XXX_DiscardUnknown()

func (*StorageBackend) XXX_Marshal

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

func (*StorageBackend) XXX_Merge

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

func (*StorageBackend) XXX_Size

func (m *StorageBackend) XXX_Size() int

func (*StorageBackend) XXX_Unmarshal

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

type StorageBackendCertificates

type StorageBackendCertificates struct {
	// Certificate Authority used to secure etcd communication.
	CA string `json:"ca" protobuf:"bytes,1,opt,name=ca"`

	// Certification file used to secure etcd communication.
	Cert string `json:"cert" protobuf:"bytes,2,opt,name=cert"`

	// Private key used to secure etcd communication.
	Key string `json:"key" protobuf:"bytes,3,opt,name=key"`
}

func (*StorageBackendCertificates) DeepCopy

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

func (*StorageBackendCertificates) DeepCopyInto

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

func (*StorageBackendCertificates) Descriptor

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

func (*StorageBackendCertificates) Marshal

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

func (*StorageBackendCertificates) MarshalTo

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

func (*StorageBackendCertificates) MarshalToSizedBuffer

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

func (*StorageBackendCertificates) ProtoMessage

func (*StorageBackendCertificates) ProtoMessage()

func (*StorageBackendCertificates) Reset

func (m *StorageBackendCertificates) Reset()

func (*StorageBackendCertificates) Size

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

func (*StorageBackendCertificates) String

func (this *StorageBackendCertificates) String() string

func (*StorageBackendCertificates) Unmarshal

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

func (*StorageBackendCertificates) XXX_DiscardUnknown

func (m *StorageBackendCertificates) XXX_DiscardUnknown()

func (*StorageBackendCertificates) XXX_Marshal

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

func (*StorageBackendCertificates) XXX_Merge

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

func (*StorageBackendCertificates) XXX_Size

func (m *StorageBackendCertificates) XXX_Size() int

func (*StorageBackendCertificates) XXX_Unmarshal

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

type StorageBackendCondition

type StorageBackendCondition struct {
	// Type of backend condition, Complete or Failed.
	Type StorageBackendConditionType `json:"type" protobuf:"bytes,1,opt,name=type,casttype=StorageBackendConditionType"`

	// Status of the condition, one of True, False, Unknown.
	Status corev1.ConditionStatus `json:"status" protobuf:"bytes,2,opt,name=status,casttype=k8s.io/api/core/v1.ConditionStatus"`

	// Last time the condition was checked.
	// +optional
	LastProbeTime metav1.Time `json:"lastProbeTime,omitempty" protobuf:"bytes,3,opt,name=lastProbeTime"`

	// Last time the condition transit from one status to another.
	// +optional
	LastTransitionTime metav1.Time `json:"lastTransitionTime,omitempty" protobuf:"bytes,4,opt,name=lastTransitionTime"`

	// (brief) reason for the condition's last transition.
	// +optional
	Reason string `json:"reason,omitempty" protobuf:"bytes,5,opt,name=reason"`

	// Human readable message indicating details about last transition.
	// +optional
	Message string `json:"message,omitempty" protobuf:"bytes,6,opt,name=message"`
}

StorageBackendCondition describes current state of a backend.

func (*StorageBackendCondition) DeepCopy

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

func (*StorageBackendCondition) DeepCopyInto

func (in *StorageBackendCondition) DeepCopyInto(out *StorageBackendCondition)

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

func (*StorageBackendCondition) Descriptor

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

func (*StorageBackendCondition) Marshal

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

func (*StorageBackendCondition) MarshalTo

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

func (*StorageBackendCondition) MarshalToSizedBuffer

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

func (*StorageBackendCondition) ProtoMessage

func (*StorageBackendCondition) ProtoMessage()

func (*StorageBackendCondition) Reset

func (m *StorageBackendCondition) Reset()

func (*StorageBackendCondition) Size

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

func (*StorageBackendCondition) String

func (this *StorageBackendCondition) String() string

func (*StorageBackendCondition) Unmarshal

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

func (*StorageBackendCondition) XXX_DiscardUnknown

func (m *StorageBackendCondition) XXX_DiscardUnknown()

func (*StorageBackendCondition) XXX_Marshal

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

func (*StorageBackendCondition) XXX_Merge

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

func (*StorageBackendCondition) XXX_Size

func (m *StorageBackendCondition) XXX_Size() int

func (*StorageBackendCondition) XXX_Unmarshal

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

type StorageBackendConditionType

type StorageBackendConditionType string
const (
	// StorageBackendActive means the etcd is active (only affect new clusters)
	StorageBackendActive StorageBackendConditionType = "Active"

	// StorageBackendHealthy means the etcd is ready and healthy
	StorageBackendHealthy StorageBackendConditionType = "Healthy"

	// StorageBackendError means the backend is encounter an issue
	StorageBackendError StorageBackendConditionType = "Error"
)

These are built-in conditions of a StorageBackend.

type StorageBackendList

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

	// Standard list metadata.
	// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
	// +optional
	metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	// items is the list of StorageBackend.
	Items []StorageBackend `json:"items" protobuf:"bytes,2,rep,name=items"`
}

func (*StorageBackendList) DeepCopy

func (in *StorageBackendList) DeepCopy() *StorageBackendList

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

func (*StorageBackendList) DeepCopyInto

func (in *StorageBackendList) DeepCopyInto(out *StorageBackendList)

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

func (*StorageBackendList) DeepCopyObject

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

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

func (*StorageBackendList) Descriptor

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

func (*StorageBackendList) Marshal

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

func (*StorageBackendList) MarshalTo

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

func (*StorageBackendList) MarshalToSizedBuffer

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

func (*StorageBackendList) ProtoMessage

func (*StorageBackendList) ProtoMessage()

func (*StorageBackendList) Reset

func (m *StorageBackendList) Reset()

func (*StorageBackendList) Size

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

func (*StorageBackendList) String

func (this *StorageBackendList) String() string

func (*StorageBackendList) Unmarshal

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

func (*StorageBackendList) XXX_DiscardUnknown

func (m *StorageBackendList) XXX_DiscardUnknown()

func (*StorageBackendList) XXX_Marshal

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

func (*StorageBackendList) XXX_Merge

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

func (*StorageBackendList) XXX_Size

func (m *StorageBackendList) XXX_Size() int

func (*StorageBackendList) XXX_Unmarshal

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

type StorageBackendSpec

type StorageBackendSpec struct {
	// Certificates used to secure etcd communication.
	// +optional
	Endpoints []string `json:"endpoints" protobuf:"bytes,1,opt,name=endpoints"`

	// Certificates used to secure etcd communication.
	// +optional
	Certificates StorageBackendCertificates `json:"certificates" protobuf:"bytes,2,opt,name=certificates"`
}

func (*StorageBackendSpec) DeepCopy

func (in *StorageBackendSpec) DeepCopy() *StorageBackendSpec

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

func (*StorageBackendSpec) DeepCopyInto

func (in *StorageBackendSpec) DeepCopyInto(out *StorageBackendSpec)

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

func (*StorageBackendSpec) Descriptor

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

func (*StorageBackendSpec) Marshal

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

func (*StorageBackendSpec) MarshalTo

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

func (*StorageBackendSpec) MarshalToSizedBuffer

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

func (*StorageBackendSpec) ProtoMessage

func (*StorageBackendSpec) ProtoMessage()

func (*StorageBackendSpec) Reset

func (m *StorageBackendSpec) Reset()

func (*StorageBackendSpec) Size

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

func (*StorageBackendSpec) String

func (this *StorageBackendSpec) String() string

func (*StorageBackendSpec) Unmarshal

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

func (*StorageBackendSpec) XXX_DiscardUnknown

func (m *StorageBackendSpec) XXX_DiscardUnknown()

func (*StorageBackendSpec) XXX_Marshal

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

func (*StorageBackendSpec) XXX_Merge

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

func (*StorageBackendSpec) XXX_Size

func (m *StorageBackendSpec) XXX_Size() int

func (*StorageBackendSpec) XXX_Unmarshal

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

type StorageBackendStatus

type StorageBackendStatus struct {
	// The latest available observations of an object's current state. When a StorageBackend
	// fails, one of the conditions will have type "Failed" and status true. When
	// a StorageBackend is unhealthy, one of the conditions will have type "Healthy" and
	// status false; when the StorageBackend is resumed, the status of this condition will
	// become false.
	//
	// +optional
	// +patchMergeKey=type
	// +patchStrategy=merge
	// +listType=atomic
	Conditions []StorageBackendCondition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,1,rep,name=conditions"`
}

StorageBackendStatus represents the current state of a storage backend.

func (*StorageBackendStatus) DeepCopy

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

func (*StorageBackendStatus) DeepCopyInto

func (in *StorageBackendStatus) DeepCopyInto(out *StorageBackendStatus)

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

func (*StorageBackendStatus) Descriptor

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

func (*StorageBackendStatus) Marshal

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

func (*StorageBackendStatus) MarshalTo

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

func (*StorageBackendStatus) MarshalToSizedBuffer

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

func (*StorageBackendStatus) ProtoMessage

func (*StorageBackendStatus) ProtoMessage()

func (*StorageBackendStatus) Reset

func (m *StorageBackendStatus) Reset()

func (*StorageBackendStatus) Size

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

func (*StorageBackendStatus) String

func (this *StorageBackendStatus) String() string

func (*StorageBackendStatus) Unmarshal

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

func (*StorageBackendStatus) XXX_DiscardUnknown

func (m *StorageBackendStatus) XXX_DiscardUnknown()

func (*StorageBackendStatus) XXX_Marshal

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

func (*StorageBackendStatus) XXX_Merge

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

func (*StorageBackendStatus) XXX_Size

func (m *StorageBackendStatus) XXX_Size() int

func (*StorageBackendStatus) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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