v1alpha1

package
v0.14.0-alpha.2 Latest Latest
Warning

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

Go to latest
Published: May 25, 2020 License: Apache-2.0 Imports: 21 Imported by: 2

Documentation

Overview

+groupName=ops.kubedb.com

Index

Constants

View Source
const (
	GenericKey = "ops.kubedb.com"

	LabelOpsRequestKind = GenericKey + "/kind"
	LabelOpsRequestName = GenericKey + "/name"
)
View Source
const (
	ResourceCodeElasticsearchOpsRequest     = "esops"
	ResourceKindElasticsearchOpsRequest     = "ElasticsearchOpsRequest"
	ResourceSingularElasticsearchOpsRequest = "elasticsearchopsrequest"
	ResourcePluralElasticsearchOpsRequest   = "elasticsearchopsrequests"
)
View Source
const (
	ResourceCodeEtcdOpsRequest     = "etcdops"
	ResourceKindEtcdOpsRequest     = "EtcdOpsRequest"
	ResourceSingularEtcdOpsRequest = "etcdopsrequest"
	ResourcePluralEtcdOpsRequest   = "etcdopsrequests"
)
View Source
const (
	ResourceCodeMemcachedOpsRequest     = "mcops"
	ResourceKindMemcachedOpsRequest     = "MemcachedOpsRequest"
	ResourceSingularMemcachedOpsRequest = "memcachedopsrequest"
	ResourcePluralMemcachedOpsRequest   = "memcachedopsrequests"
)
View Source
const (
	ResourceCodeMongoDBOpsRequest     = "mgops"
	ResourceKindMongoDBOpsRequest     = "MongoDBOpsRequest"
	ResourceSingularMongoDBOpsRequest = "mongodbopsrequest"
	ResourcePluralMongoDBOpsRequest   = "mongodbopsrequests"
)
View Source
const (
	ResourceCodeMySQLOpsRequest     = "myops"
	ResourceKindMySQLOpsRequest     = "MySQLOpsRequest"
	ResourceSingularMySQLOpsRequest = "mysqlopsrequest"
	ResourcePluralMySQLOpsRequest   = "mysqlopsrequests"
)
View Source
const (
	ResourceCodePerconaXtraDBOpsRequest     = "pxcops"
	ResourceKindPerconaXtraDBOpsRequest     = "PerconaXtraDBOpsRequest"
	ResourceSingularPerconaXtraDBOpsRequest = "perconaxtradbopsrequest"
	ResourcePluralPerconaXtraDBOpsRequest   = "perconaxtradbopsrequests"
)
View Source
const (
	ResourceCodePgBouncerOpsRequest     = "pbops"
	ResourceKindPgBouncerOpsRequest     = "PgBouncerOpsRequest"
	ResourceSingularPgBouncerOpsRequest = "pgbounceropsrequest"
	ResourcePluralPgBouncerOpsRequest   = "pgbounceropsrequests"
)
View Source
const (
	ResourceCodePostgresOpsRequest     = "pgops"
	ResourceKindPostgresOpsRequest     = "PostgresOpsRequest"
	ResourceSingularPostgresOpsRequest = "postgresopsrequest"
	ResourcePluralPostgresOpsRequest   = "postgresopsrequests"
)
View Source
const (
	ResourceKindProxySQLOpsRequest     = "ProxySQLOpsRequest"
	ResourceSingularProxySQLOpsRequest = "proxysqlopsrequest"
	ResourcePluralProxySQLOpsRequest   = "proxysqlopsrequests"
)
View Source
const (
	ResourceCodeRedisOpsRequest     = "rdops"
	ResourceKindRedisOpsRequest     = "RedisOpsRequest"
	ResourceSingularRedisOpsRequest = "redisopsrequest"
	ResourcePluralRedisOpsRequest   = "redisopsrequests"
)
View Source
const (
	AccessApproved            = "Approved"
	AccessDenied              = "Denied"
	DisableSharding           = "DisableSharding"
	EnableSharding            = "EnableSharding"
	Failure                   = "Failure"
	HorizontalScalingDatabase = "HorizontalScaling"
	MigratingData             = "MigratingData"
	NodeCreated               = "NodeCreated"
	NodeDeleted               = "NodeDeleted"
	NodeRestarted             = "NodeRestarted"
	PauseDatabase             = "PauseDatabase"
	Progressing               = "Progressing"
	ResumeDatabase            = "ResumeDatabase"
	ScalingDatabase           = "Scaling"
	ScalingDown               = "ScalingDown"
	ScalingUp                 = "ScalingUp"
	StartingBalancer          = "StartingBalancer"
	StoppingBalancer          = "StoppingBalancer"
	Successful                = "Successful"
	Updating                  = "Updating"
	UpgradedVersion           = "UpgradedVersion"
	UpgradingVersion          = "UpgradingVersion"
	VerticalScalingDatabase   = "VerticalScaling"
	VotingExclusionAdded      = "VotingExclusionAdded"
	VotingExclusionDeleted    = "VotingExclusionDeleted"
)

List of possible condition types for a ops request

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 (
	// TODO: move SchemeBuilder with zz_generated.deepcopy.go to k8s.io/api.
	// localSchemeBuilder and AddToScheme will stay in k8s.io/kubernetes.
	SchemeBuilder runtime.SchemeBuilder

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

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 ConfigNode

type ConfigNode struct {
	Replicas int32 `json:"replicas,omitempty" protobuf:"bytes,1,opt,name=replicas"`
}

ConfigNode is the spec for mongodb ConfigServer

func (*ConfigNode) DeepCopy

func (in *ConfigNode) DeepCopy() *ConfigNode

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

func (*ConfigNode) DeepCopyInto

func (in *ConfigNode) DeepCopyInto(out *ConfigNode)

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

func (*ConfigNode) Descriptor

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

func (*ConfigNode) Marshal

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

func (*ConfigNode) MarshalTo

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

func (*ConfigNode) MarshalToSizedBuffer

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

func (*ConfigNode) ProtoMessage

func (*ConfigNode) ProtoMessage()

func (*ConfigNode) Reset

func (m *ConfigNode) Reset()

func (*ConfigNode) Size

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

func (*ConfigNode) String

func (this *ConfigNode) String() string

func (*ConfigNode) Unmarshal

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

func (*ConfigNode) XXX_DiscardUnknown

func (m *ConfigNode) XXX_DiscardUnknown()

func (*ConfigNode) XXX_Marshal

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

func (*ConfigNode) XXX_Merge

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

func (*ConfigNode) XXX_Size

func (m *ConfigNode) XXX_Size() int

func (*ConfigNode) XXX_Unmarshal

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

type ElasticsearchHorizontalScalingSpec

type ElasticsearchHorizontalScalingSpec struct {
	// Number of master nodes
	Master *int32 `json:"master,omitempty" protobuf:"bytes,1,opt,name=master"`
	// Number of data nodes
	Data *int32 `json:"data,omitempty" protobuf:"bytes,2,opt,name=data"`
	// Number of client nodes
	Client *int32 `json:"client,omitempty" protobuf:"bytes,3,opt,name=client"`
}

ElasticsearchHorizontalScalingSpec contains the horizontal scaling information of an Elasticsearch cluster

func (*ElasticsearchHorizontalScalingSpec) DeepCopy

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

func (*ElasticsearchHorizontalScalingSpec) DeepCopyInto

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

func (*ElasticsearchHorizontalScalingSpec) Descriptor

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

func (*ElasticsearchHorizontalScalingSpec) Marshal

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

func (*ElasticsearchHorizontalScalingSpec) MarshalTo

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

func (*ElasticsearchHorizontalScalingSpec) MarshalToSizedBuffer

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

func (*ElasticsearchHorizontalScalingSpec) ProtoMessage

func (*ElasticsearchHorizontalScalingSpec) ProtoMessage()

func (*ElasticsearchHorizontalScalingSpec) Reset

func (*ElasticsearchHorizontalScalingSpec) Size

func (*ElasticsearchHorizontalScalingSpec) String

func (*ElasticsearchHorizontalScalingSpec) Unmarshal

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

func (*ElasticsearchHorizontalScalingSpec) XXX_DiscardUnknown

func (m *ElasticsearchHorizontalScalingSpec) XXX_DiscardUnknown()

func (*ElasticsearchHorizontalScalingSpec) XXX_Marshal

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

func (*ElasticsearchHorizontalScalingSpec) XXX_Merge

func (*ElasticsearchHorizontalScalingSpec) XXX_Size

func (*ElasticsearchHorizontalScalingSpec) XXX_Unmarshal

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

type ElasticsearchOpsRequest

type ElasticsearchOpsRequest struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
	Spec              ElasticsearchOpsRequestSpec   `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"`
	Status            ElasticsearchOpsRequestStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"`
}

+kubebuilder:object:root=true +kubebuilder:resource:path=elasticsearchopsrequests,singular=elasticsearchopsrequest,shortName=esops,categories={datastore,kubedb,appscode} +kubebuilder:subresource:status +kubebuilder:printcolumn:name="Type",type="string",JSONPath=".spec.type" +kubebuilder:printcolumn:name="Status",type="string",JSONPath=".status.phase" +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp"

func (ElasticsearchOpsRequest) CustomResourceDefinition

func (_ ElasticsearchOpsRequest) CustomResourceDefinition() *apiextensions.CustomResourceDefinition

func (*ElasticsearchOpsRequest) DeepCopy

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

func (*ElasticsearchOpsRequest) DeepCopyInto

func (in *ElasticsearchOpsRequest) DeepCopyInto(out *ElasticsearchOpsRequest)

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

func (*ElasticsearchOpsRequest) DeepCopyObject

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

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

func (*ElasticsearchOpsRequest) Descriptor

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

func (*ElasticsearchOpsRequest) Marshal

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

func (*ElasticsearchOpsRequest) MarshalTo

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

func (*ElasticsearchOpsRequest) MarshalToSizedBuffer

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

func (*ElasticsearchOpsRequest) ProtoMessage

func (*ElasticsearchOpsRequest) ProtoMessage()

func (*ElasticsearchOpsRequest) Reset

func (m *ElasticsearchOpsRequest) Reset()

func (ElasticsearchOpsRequest) ResourceKind

func (e ElasticsearchOpsRequest) ResourceKind() string

func (ElasticsearchOpsRequest) ResourcePlural

func (e ElasticsearchOpsRequest) ResourcePlural() string

func (ElasticsearchOpsRequest) ResourceShortCode

func (e ElasticsearchOpsRequest) ResourceShortCode() string

func (ElasticsearchOpsRequest) ResourceSingular

func (e ElasticsearchOpsRequest) ResourceSingular() string

func (*ElasticsearchOpsRequest) Size

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

func (*ElasticsearchOpsRequest) String

func (this *ElasticsearchOpsRequest) String() string

func (*ElasticsearchOpsRequest) Unmarshal

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

func (ElasticsearchOpsRequest) ValidateSpecs

func (e ElasticsearchOpsRequest) ValidateSpecs() error

func (*ElasticsearchOpsRequest) XXX_DiscardUnknown

func (m *ElasticsearchOpsRequest) XXX_DiscardUnknown()

func (*ElasticsearchOpsRequest) XXX_Marshal

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

func (*ElasticsearchOpsRequest) XXX_Merge

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

func (*ElasticsearchOpsRequest) XXX_Size

func (m *ElasticsearchOpsRequest) XXX_Size() int

func (*ElasticsearchOpsRequest) XXX_Unmarshal

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

type ElasticsearchOpsRequestList

type ElasticsearchOpsRequestList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
	// Items is a list of ElasticsearchOpsRequest CRD objects
	Items []ElasticsearchOpsRequest `json:"items,omitempty" protobuf:"bytes,2,rep,name=items"`
}

ElasticsearchOpsRequestList is a list of ElasticsearchOpsRequests

func (*ElasticsearchOpsRequestList) DeepCopy

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

func (*ElasticsearchOpsRequestList) DeepCopyInto

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

func (*ElasticsearchOpsRequestList) DeepCopyObject

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

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

func (*ElasticsearchOpsRequestList) Descriptor

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

func (*ElasticsearchOpsRequestList) Marshal

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

func (*ElasticsearchOpsRequestList) MarshalTo

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

func (*ElasticsearchOpsRequestList) MarshalToSizedBuffer

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

func (*ElasticsearchOpsRequestList) ProtoMessage

func (*ElasticsearchOpsRequestList) ProtoMessage()

func (*ElasticsearchOpsRequestList) Reset

func (m *ElasticsearchOpsRequestList) Reset()

func (*ElasticsearchOpsRequestList) Size

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

func (*ElasticsearchOpsRequestList) String

func (this *ElasticsearchOpsRequestList) String() string

func (*ElasticsearchOpsRequestList) Unmarshal

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

func (*ElasticsearchOpsRequestList) XXX_DiscardUnknown

func (m *ElasticsearchOpsRequestList) XXX_DiscardUnknown()

func (*ElasticsearchOpsRequestList) XXX_Marshal

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

func (*ElasticsearchOpsRequestList) XXX_Merge

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

func (*ElasticsearchOpsRequestList) XXX_Size

func (m *ElasticsearchOpsRequestList) XXX_Size() int

func (*ElasticsearchOpsRequestList) XXX_Unmarshal

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

type ElasticsearchOpsRequestSpec

type ElasticsearchOpsRequestSpec struct {
	// Specifies the Elasticsearch reference
	DatabaseRef v1.LocalObjectReference `json:"databaseRef" protobuf:"bytes,1,opt,name=databaseRef"`
	// Specifies the ops request type: Upgrade, HorizontalScaling, VerticalScaling etc.
	Type OpsRequestType `json:"type" protobuf:"bytes,2,opt,name=type,casttype=OpsRequestType"`
	// Specifies the field information that needed to be upgraded
	Upgrade *UpgradeSpec `json:"upgrade,omitempty" protobuf:"bytes,3,opt,name=upgrade"`
	// HorizontalScaling specifies the horizontal scaling.
	HorizontalScaling *ElasticsearchHorizontalScalingSpec `json:"horizontalScaling,omitempty" protobuf:"bytes,4,opt,name=horizontalScaling"`
}

ElasticsearchOpsRequestSpec is the spec for ElasticsearchOpsRequest

func (*ElasticsearchOpsRequestSpec) DeepCopy

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

func (*ElasticsearchOpsRequestSpec) DeepCopyInto

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

func (*ElasticsearchOpsRequestSpec) Descriptor

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

func (*ElasticsearchOpsRequestSpec) Marshal

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

func (*ElasticsearchOpsRequestSpec) MarshalTo

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

func (*ElasticsearchOpsRequestSpec) MarshalToSizedBuffer

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

func (*ElasticsearchOpsRequestSpec) ProtoMessage

func (*ElasticsearchOpsRequestSpec) ProtoMessage()

func (*ElasticsearchOpsRequestSpec) Reset

func (m *ElasticsearchOpsRequestSpec) Reset()

func (*ElasticsearchOpsRequestSpec) Size

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

func (*ElasticsearchOpsRequestSpec) String

func (this *ElasticsearchOpsRequestSpec) String() string

func (*ElasticsearchOpsRequestSpec) Unmarshal

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

func (*ElasticsearchOpsRequestSpec) XXX_DiscardUnknown

func (m *ElasticsearchOpsRequestSpec) XXX_DiscardUnknown()

func (*ElasticsearchOpsRequestSpec) XXX_Marshal

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

func (*ElasticsearchOpsRequestSpec) XXX_Merge

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

func (*ElasticsearchOpsRequestSpec) XXX_Size

func (m *ElasticsearchOpsRequestSpec) XXX_Size() int

func (*ElasticsearchOpsRequestSpec) XXX_Unmarshal

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

type ElasticsearchOpsRequestStatus

type ElasticsearchOpsRequestStatus struct {
	// Specifies the current phase of the ops request
	// +optional
	Phase OpsRequestPhase `json:"phase,omitempty" protobuf:"bytes,1,opt,name=phase,casttype=OpsRequestPhase"`
	// observedGeneration is the most recent generation observed for this resource. It corresponds to the
	// resource's generation, which is updated on mutation by the API Server.
	// +optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty" protobuf:"varint,2,opt,name=observedGeneration"`
	// Conditions applied to the request, such as approval or denial.
	// +optional
	Conditions []kmapi.Condition `json:"conditions,omitempty" protobuf:"bytes,3,rep,name=conditions"`
}

ElasticsearchOpsRequestStatus is the status for ElasticsearchOpsRequest

func (*ElasticsearchOpsRequestStatus) DeepCopy

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

func (*ElasticsearchOpsRequestStatus) DeepCopyInto

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

func (*ElasticsearchOpsRequestStatus) Descriptor

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

func (*ElasticsearchOpsRequestStatus) Marshal

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

func (*ElasticsearchOpsRequestStatus) MarshalTo

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

func (*ElasticsearchOpsRequestStatus) MarshalToSizedBuffer

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

func (*ElasticsearchOpsRequestStatus) ProtoMessage

func (*ElasticsearchOpsRequestStatus) ProtoMessage()

func (*ElasticsearchOpsRequestStatus) Reset

func (m *ElasticsearchOpsRequestStatus) Reset()

func (*ElasticsearchOpsRequestStatus) Size

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

func (*ElasticsearchOpsRequestStatus) String

func (this *ElasticsearchOpsRequestStatus) String() string

func (*ElasticsearchOpsRequestStatus) Unmarshal

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

func (*ElasticsearchOpsRequestStatus) XXX_DiscardUnknown

func (m *ElasticsearchOpsRequestStatus) XXX_DiscardUnknown()

func (*ElasticsearchOpsRequestStatus) XXX_Marshal

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

func (*ElasticsearchOpsRequestStatus) XXX_Merge

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

func (*ElasticsearchOpsRequestStatus) XXX_Size

func (m *ElasticsearchOpsRequestStatus) XXX_Size() int

func (*ElasticsearchOpsRequestStatus) XXX_Unmarshal

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

type EtcdOpsRequest

type EtcdOpsRequest struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
	Spec              EtcdOpsRequestSpec   `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"`
	Status            EtcdOpsRequestStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"`
}

+kubebuilder:object:root=true +kubebuilder:resource:path=etcdopsrequests,singular=etcdopsrequest,shortName=etcdops,categories={datastore,kubedb,appscode} +kubebuilder:subresource:status +kubebuilder:printcolumn:name="Type",type="string",JSONPath=".spec.type" +kubebuilder:printcolumn:name="Status",type="string",JSONPath=".status.phase" +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp"

func (EtcdOpsRequest) CustomResourceDefinition

func (_ EtcdOpsRequest) CustomResourceDefinition() *apiextensions.CustomResourceDefinition

func (*EtcdOpsRequest) DeepCopy

func (in *EtcdOpsRequest) DeepCopy() *EtcdOpsRequest

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

func (*EtcdOpsRequest) DeepCopyInto

func (in *EtcdOpsRequest) DeepCopyInto(out *EtcdOpsRequest)

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

func (*EtcdOpsRequest) DeepCopyObject

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

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

func (*EtcdOpsRequest) Descriptor

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

func (*EtcdOpsRequest) Marshal

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

func (*EtcdOpsRequest) MarshalTo

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

func (*EtcdOpsRequest) MarshalToSizedBuffer

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

func (*EtcdOpsRequest) ProtoMessage

func (*EtcdOpsRequest) ProtoMessage()

func (*EtcdOpsRequest) Reset

func (m *EtcdOpsRequest) Reset()

func (EtcdOpsRequest) ResourceKind

func (e EtcdOpsRequest) ResourceKind() string

func (EtcdOpsRequest) ResourcePlural

func (e EtcdOpsRequest) ResourcePlural() string

func (EtcdOpsRequest) ResourceShortCode

func (e EtcdOpsRequest) ResourceShortCode() string

func (EtcdOpsRequest) ResourceSingular

func (e EtcdOpsRequest) ResourceSingular() string

func (*EtcdOpsRequest) Size

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

func (*EtcdOpsRequest) String

func (this *EtcdOpsRequest) String() string

func (*EtcdOpsRequest) Unmarshal

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

func (EtcdOpsRequest) ValidateSpecs

func (e EtcdOpsRequest) ValidateSpecs() error

func (*EtcdOpsRequest) XXX_DiscardUnknown

func (m *EtcdOpsRequest) XXX_DiscardUnknown()

func (*EtcdOpsRequest) XXX_Marshal

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

func (*EtcdOpsRequest) XXX_Merge

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

func (*EtcdOpsRequest) XXX_Size

func (m *EtcdOpsRequest) XXX_Size() int

func (*EtcdOpsRequest) XXX_Unmarshal

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

type EtcdOpsRequestList

type EtcdOpsRequestList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
	// Items is a list of EtcdOpsRequest CRD objects
	Items []EtcdOpsRequest `json:"items,omitempty" protobuf:"bytes,2,rep,name=items"`
}

EtcdOpsRequestList is a list of EtcdOpsRequests

func (*EtcdOpsRequestList) DeepCopy

func (in *EtcdOpsRequestList) DeepCopy() *EtcdOpsRequestList

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

func (*EtcdOpsRequestList) DeepCopyInto

func (in *EtcdOpsRequestList) DeepCopyInto(out *EtcdOpsRequestList)

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

func (*EtcdOpsRequestList) DeepCopyObject

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

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

func (*EtcdOpsRequestList) Descriptor

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

func (*EtcdOpsRequestList) Marshal

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

func (*EtcdOpsRequestList) MarshalTo

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

func (*EtcdOpsRequestList) MarshalToSizedBuffer

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

func (*EtcdOpsRequestList) ProtoMessage

func (*EtcdOpsRequestList) ProtoMessage()

func (*EtcdOpsRequestList) Reset

func (m *EtcdOpsRequestList) Reset()

func (*EtcdOpsRequestList) Size

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

func (*EtcdOpsRequestList) String

func (this *EtcdOpsRequestList) String() string

func (*EtcdOpsRequestList) Unmarshal

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

func (*EtcdOpsRequestList) XXX_DiscardUnknown

func (m *EtcdOpsRequestList) XXX_DiscardUnknown()

func (*EtcdOpsRequestList) XXX_Marshal

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

func (*EtcdOpsRequestList) XXX_Merge

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

func (*EtcdOpsRequestList) XXX_Size

func (m *EtcdOpsRequestList) XXX_Size() int

func (*EtcdOpsRequestList) XXX_Unmarshal

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

type EtcdOpsRequestSpec

type EtcdOpsRequestSpec struct {
	// Specifies the etcd reference
	DatabaseRef v1.LocalObjectReference `json:"databaseRef" protobuf:"bytes,1,opt,name=databaseRef"`
	// Specifies the ops request type: Upgrade, HorizontalScaling, VerticalScaling etc.
	Type OpsRequestType `json:"type" protobuf:"bytes,2,opt,name=type,casttype=OpsRequestType"`
	// Specifies the field information that needed to be upgraded
	Upgrade *UpgradeSpec `json:"upgrade,omitempty" protobuf:"bytes,3,opt,name=upgrade"`
}

EtcdOpsRequestSpec is the spec for EtcdOpsRequest

func (*EtcdOpsRequestSpec) DeepCopy

func (in *EtcdOpsRequestSpec) DeepCopy() *EtcdOpsRequestSpec

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

func (*EtcdOpsRequestSpec) DeepCopyInto

func (in *EtcdOpsRequestSpec) DeepCopyInto(out *EtcdOpsRequestSpec)

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

func (*EtcdOpsRequestSpec) Descriptor

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

func (*EtcdOpsRequestSpec) Marshal

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

func (*EtcdOpsRequestSpec) MarshalTo

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

func (*EtcdOpsRequestSpec) MarshalToSizedBuffer

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

func (*EtcdOpsRequestSpec) ProtoMessage

func (*EtcdOpsRequestSpec) ProtoMessage()

func (*EtcdOpsRequestSpec) Reset

func (m *EtcdOpsRequestSpec) Reset()

func (*EtcdOpsRequestSpec) Size

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

func (*EtcdOpsRequestSpec) String

func (this *EtcdOpsRequestSpec) String() string

func (*EtcdOpsRequestSpec) Unmarshal

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

func (*EtcdOpsRequestSpec) XXX_DiscardUnknown

func (m *EtcdOpsRequestSpec) XXX_DiscardUnknown()

func (*EtcdOpsRequestSpec) XXX_Marshal

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

func (*EtcdOpsRequestSpec) XXX_Merge

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

func (*EtcdOpsRequestSpec) XXX_Size

func (m *EtcdOpsRequestSpec) XXX_Size() int

func (*EtcdOpsRequestSpec) XXX_Unmarshal

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

type EtcdOpsRequestStatus

type EtcdOpsRequestStatus struct {
	Phase OpsRequestPhase `json:"phase,omitempty" protobuf:"bytes,1,opt,name=phase,casttype=OpsRequestPhase"`
	// observedGeneration is the most recent generation observed for this resource. It corresponds to the
	// resource's generation, which is updated on mutation by the API Server.
	// +optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty" protobuf:"varint,2,opt,name=observedGeneration"`
	// Conditions applied to the request, such as approval or denial.
	// +optional
	Conditions []kmapi.Condition `json:"conditions,omitempty" protobuf:"bytes,3,rep,name=conditions"`
}

EtcdOpsRequestStatus is the status for EtcdOpsRequest

func (*EtcdOpsRequestStatus) DeepCopy

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

func (*EtcdOpsRequestStatus) DeepCopyInto

func (in *EtcdOpsRequestStatus) DeepCopyInto(out *EtcdOpsRequestStatus)

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

func (*EtcdOpsRequestStatus) Descriptor

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

func (*EtcdOpsRequestStatus) Marshal

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

func (*EtcdOpsRequestStatus) MarshalTo

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

func (*EtcdOpsRequestStatus) MarshalToSizedBuffer

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

func (*EtcdOpsRequestStatus) ProtoMessage

func (*EtcdOpsRequestStatus) ProtoMessage()

func (*EtcdOpsRequestStatus) Reset

func (m *EtcdOpsRequestStatus) Reset()

func (*EtcdOpsRequestStatus) Size

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

func (*EtcdOpsRequestStatus) String

func (this *EtcdOpsRequestStatus) String() string

func (*EtcdOpsRequestStatus) Unmarshal

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

func (*EtcdOpsRequestStatus) XXX_DiscardUnknown

func (m *EtcdOpsRequestStatus) XXX_DiscardUnknown()

func (*EtcdOpsRequestStatus) XXX_Marshal

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

func (*EtcdOpsRequestStatus) XXX_Merge

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

func (*EtcdOpsRequestStatus) XXX_Size

func (m *EtcdOpsRequestStatus) XXX_Size() int

func (*EtcdOpsRequestStatus) XXX_Unmarshal

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

type MemcachedOpsRequest

type MemcachedOpsRequest struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
	Spec              MemcachedOpsRequestSpec   `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"`
	Status            MemcachedOpsRequestStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"`
}

+kubebuilder:object:root=true +kubebuilder:resource:path=memcachedopsrequests,singular=memcachedopsrequest,shortName=mcops,categories={datastore,kubedb,appscode} +kubebuilder:subresource:status +kubebuilder:printcolumn:name="Type",type="string",JSONPath=".spec.type" +kubebuilder:printcolumn:name="Status",type="string",JSONPath=".status.phase" +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp"

func (MemcachedOpsRequest) CustomResourceDefinition

func (_ MemcachedOpsRequest) CustomResourceDefinition() *apiextensions.CustomResourceDefinition

func (*MemcachedOpsRequest) DeepCopy

func (in *MemcachedOpsRequest) DeepCopy() *MemcachedOpsRequest

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

func (*MemcachedOpsRequest) DeepCopyInto

func (in *MemcachedOpsRequest) DeepCopyInto(out *MemcachedOpsRequest)

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

func (*MemcachedOpsRequest) DeepCopyObject

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

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

func (*MemcachedOpsRequest) Descriptor

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

func (*MemcachedOpsRequest) Marshal

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

func (*MemcachedOpsRequest) MarshalTo

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

func (*MemcachedOpsRequest) MarshalToSizedBuffer

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

func (*MemcachedOpsRequest) ProtoMessage

func (*MemcachedOpsRequest) ProtoMessage()

func (*MemcachedOpsRequest) Reset

func (m *MemcachedOpsRequest) Reset()

func (MemcachedOpsRequest) ResourceKind

func (m MemcachedOpsRequest) ResourceKind() string

func (MemcachedOpsRequest) ResourcePlural

func (m MemcachedOpsRequest) ResourcePlural() string

func (MemcachedOpsRequest) ResourceShortCode

func (m MemcachedOpsRequest) ResourceShortCode() string

func (MemcachedOpsRequest) ResourceSingular

func (m MemcachedOpsRequest) ResourceSingular() string

func (*MemcachedOpsRequest) Size

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

func (*MemcachedOpsRequest) String

func (this *MemcachedOpsRequest) String() string

func (*MemcachedOpsRequest) Unmarshal

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

func (MemcachedOpsRequest) ValidateSpecs

func (m MemcachedOpsRequest) ValidateSpecs() error

func (*MemcachedOpsRequest) XXX_DiscardUnknown

func (m *MemcachedOpsRequest) XXX_DiscardUnknown()

func (*MemcachedOpsRequest) XXX_Marshal

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

func (*MemcachedOpsRequest) XXX_Merge

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

func (*MemcachedOpsRequest) XXX_Size

func (m *MemcachedOpsRequest) XXX_Size() int

func (*MemcachedOpsRequest) XXX_Unmarshal

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

type MemcachedOpsRequestList

type MemcachedOpsRequestList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
	// Items is a list of MemcachedOpsRequest CRD objects
	Items []MemcachedOpsRequest `json:"items,omitempty" protobuf:"bytes,2,rep,name=items"`
}

MemcachedOpsRequestList is a list of MemcachedOpsRequests

func (*MemcachedOpsRequestList) DeepCopy

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

func (*MemcachedOpsRequestList) DeepCopyInto

func (in *MemcachedOpsRequestList) DeepCopyInto(out *MemcachedOpsRequestList)

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

func (*MemcachedOpsRequestList) DeepCopyObject

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

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

func (*MemcachedOpsRequestList) Descriptor

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

func (*MemcachedOpsRequestList) Marshal

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

func (*MemcachedOpsRequestList) MarshalTo

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

func (*MemcachedOpsRequestList) MarshalToSizedBuffer

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

func (*MemcachedOpsRequestList) ProtoMessage

func (*MemcachedOpsRequestList) ProtoMessage()

func (*MemcachedOpsRequestList) Reset

func (m *MemcachedOpsRequestList) Reset()

func (*MemcachedOpsRequestList) Size

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

func (*MemcachedOpsRequestList) String

func (this *MemcachedOpsRequestList) String() string

func (*MemcachedOpsRequestList) Unmarshal

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

func (*MemcachedOpsRequestList) XXX_DiscardUnknown

func (m *MemcachedOpsRequestList) XXX_DiscardUnknown()

func (*MemcachedOpsRequestList) XXX_Marshal

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

func (*MemcachedOpsRequestList) XXX_Merge

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

func (*MemcachedOpsRequestList) XXX_Size

func (m *MemcachedOpsRequestList) XXX_Size() int

func (*MemcachedOpsRequestList) XXX_Unmarshal

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

type MemcachedOpsRequestSpec

type MemcachedOpsRequestSpec struct {
	// Specifies the Memcached reference
	DatabaseRef v1.LocalObjectReference `json:"databaseRef" protobuf:"bytes,1,opt,name=databaseRef"`
	// Specifies the ops request type: Upgrade, HorizontalScaling, VerticalScaling etc.
	Type OpsRequestType `json:"type" protobuf:"bytes,2,opt,name=type,casttype=OpsRequestType"`
	// Specifies the field information that needed to be upgraded
	Upgrade *UpgradeSpec `json:"upgrade,omitempty" protobuf:"bytes,3,opt,name=upgrade"`
}

MemcachedOpsRequestSpec is the spec for MemcachedOpsRequest

func (*MemcachedOpsRequestSpec) DeepCopy

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

func (*MemcachedOpsRequestSpec) DeepCopyInto

func (in *MemcachedOpsRequestSpec) DeepCopyInto(out *MemcachedOpsRequestSpec)

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

func (*MemcachedOpsRequestSpec) Descriptor

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

func (*MemcachedOpsRequestSpec) Marshal

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

func (*MemcachedOpsRequestSpec) MarshalTo

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

func (*MemcachedOpsRequestSpec) MarshalToSizedBuffer

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

func (*MemcachedOpsRequestSpec) ProtoMessage

func (*MemcachedOpsRequestSpec) ProtoMessage()

func (*MemcachedOpsRequestSpec) Reset

func (m *MemcachedOpsRequestSpec) Reset()

func (*MemcachedOpsRequestSpec) Size

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

func (*MemcachedOpsRequestSpec) String

func (this *MemcachedOpsRequestSpec) String() string

func (*MemcachedOpsRequestSpec) Unmarshal

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

func (*MemcachedOpsRequestSpec) XXX_DiscardUnknown

func (m *MemcachedOpsRequestSpec) XXX_DiscardUnknown()

func (*MemcachedOpsRequestSpec) XXX_Marshal

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

func (*MemcachedOpsRequestSpec) XXX_Merge

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

func (*MemcachedOpsRequestSpec) XXX_Size

func (m *MemcachedOpsRequestSpec) XXX_Size() int

func (*MemcachedOpsRequestSpec) XXX_Unmarshal

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

type MemcachedOpsRequestStatus

type MemcachedOpsRequestStatus struct {
	Phase OpsRequestPhase `json:"phase,omitempty" protobuf:"bytes,1,opt,name=phase,casttype=OpsRequestPhase"`
	// observedGeneration is the most recent generation observed for this resource. It corresponds to the
	// resource's generation, which is updated on mutation by the API Server.
	// +optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty" protobuf:"varint,2,opt,name=observedGeneration"`
	// Conditions applied to the request, such as approval or denial.
	// +optional
	Conditions []kmapi.Condition `json:"conditions,omitempty" protobuf:"bytes,3,rep,name=conditions"`
}

MemcachedOpsRequestStatus is the status for MemcachedOpsRequest

func (*MemcachedOpsRequestStatus) DeepCopy

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

func (*MemcachedOpsRequestStatus) DeepCopyInto

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

func (*MemcachedOpsRequestStatus) Descriptor

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

func (*MemcachedOpsRequestStatus) Marshal

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

func (*MemcachedOpsRequestStatus) MarshalTo

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

func (*MemcachedOpsRequestStatus) MarshalToSizedBuffer

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

func (*MemcachedOpsRequestStatus) ProtoMessage

func (*MemcachedOpsRequestStatus) ProtoMessage()

func (*MemcachedOpsRequestStatus) Reset

func (m *MemcachedOpsRequestStatus) Reset()

func (*MemcachedOpsRequestStatus) Size

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

func (*MemcachedOpsRequestStatus) String

func (this *MemcachedOpsRequestStatus) String() string

func (*MemcachedOpsRequestStatus) Unmarshal

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

func (*MemcachedOpsRequestStatus) XXX_DiscardUnknown

func (m *MemcachedOpsRequestStatus) XXX_DiscardUnknown()

func (*MemcachedOpsRequestStatus) XXX_Marshal

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

func (*MemcachedOpsRequestStatus) XXX_Merge

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

func (*MemcachedOpsRequestStatus) XXX_Size

func (m *MemcachedOpsRequestStatus) XXX_Size() int

func (*MemcachedOpsRequestStatus) XXX_Unmarshal

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

type MongoDBHorizontalScalingSpec

type MongoDBHorizontalScalingSpec struct {
	Shard        *MongoDBShardNode `json:"shard,omitempty" protobuf:"bytes,1,opt,name=shard"`
	ConfigServer *ConfigNode       `json:"configServer,omitempty" protobuf:"bytes,2,opt,name=configServer"`
	Mongos       *MongosNode       `json:"mongos,omitempty" protobuf:"bytes,3,opt,name=mongos"`
	Replicas     *int32            `json:"replicas,omitempty" protobuf:"bytes,4,opt,name=replicas"`
}

HorizontalScaling is the spec for mongodb horizontal scaling

func (*MongoDBHorizontalScalingSpec) DeepCopy

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

func (*MongoDBHorizontalScalingSpec) DeepCopyInto

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

func (*MongoDBHorizontalScalingSpec) Descriptor

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

func (*MongoDBHorizontalScalingSpec) Marshal

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

func (*MongoDBHorizontalScalingSpec) MarshalTo

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

func (*MongoDBHorizontalScalingSpec) MarshalToSizedBuffer

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

func (*MongoDBHorizontalScalingSpec) ProtoMessage

func (*MongoDBHorizontalScalingSpec) ProtoMessage()

func (*MongoDBHorizontalScalingSpec) Reset

func (m *MongoDBHorizontalScalingSpec) Reset()

func (*MongoDBHorizontalScalingSpec) Size

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

func (*MongoDBHorizontalScalingSpec) String

func (this *MongoDBHorizontalScalingSpec) String() string

func (*MongoDBHorizontalScalingSpec) Unmarshal

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

func (*MongoDBHorizontalScalingSpec) XXX_DiscardUnknown

func (m *MongoDBHorizontalScalingSpec) XXX_DiscardUnknown()

func (*MongoDBHorizontalScalingSpec) XXX_Marshal

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

func (*MongoDBHorizontalScalingSpec) XXX_Merge

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

func (*MongoDBHorizontalScalingSpec) XXX_Size

func (m *MongoDBHorizontalScalingSpec) XXX_Size() int

func (*MongoDBHorizontalScalingSpec) XXX_Unmarshal

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

type MongoDBOpsRequest

type MongoDBOpsRequest struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
	Spec              MongoDBOpsRequestSpec   `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"`
	Status            MongoDBOpsRequestStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"`
}

+kubebuilder:object:root=true +kubebuilder:resource:path=mongodbopsrequests,singular=mongodbopsrequest,shortName=mgops,categories={datastore,kubedb,appscode} +kubebuilder:subresource:status +kubebuilder:printcolumn:name="Type",type="string",JSONPath=".spec.type" +kubebuilder:printcolumn:name="Status",type="string",JSONPath=".status.phase" +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp"

func (MongoDBOpsRequest) CustomResourceDefinition

func (_ MongoDBOpsRequest) CustomResourceDefinition() *apiextensions.CustomResourceDefinition

func (*MongoDBOpsRequest) DeepCopy

func (in *MongoDBOpsRequest) DeepCopy() *MongoDBOpsRequest

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

func (*MongoDBOpsRequest) DeepCopyInto

func (in *MongoDBOpsRequest) DeepCopyInto(out *MongoDBOpsRequest)

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

func (*MongoDBOpsRequest) DeepCopyObject

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

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

func (*MongoDBOpsRequest) Descriptor

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

func (*MongoDBOpsRequest) Marshal

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

func (*MongoDBOpsRequest) MarshalTo

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

func (*MongoDBOpsRequest) MarshalToSizedBuffer

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

func (*MongoDBOpsRequest) ProtoMessage

func (*MongoDBOpsRequest) ProtoMessage()

func (*MongoDBOpsRequest) Reset

func (m *MongoDBOpsRequest) Reset()

func (MongoDBOpsRequest) ResourceKind

func (m MongoDBOpsRequest) ResourceKind() string

func (MongoDBOpsRequest) ResourcePlural

func (m MongoDBOpsRequest) ResourcePlural() string

func (MongoDBOpsRequest) ResourceShortCode

func (m MongoDBOpsRequest) ResourceShortCode() string

func (MongoDBOpsRequest) ResourceSingular

func (m MongoDBOpsRequest) ResourceSingular() string

func (*MongoDBOpsRequest) Size

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

func (*MongoDBOpsRequest) String

func (this *MongoDBOpsRequest) String() string

func (*MongoDBOpsRequest) Unmarshal

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

func (MongoDBOpsRequest) ValidateSpecs

func (m MongoDBOpsRequest) ValidateSpecs() error

func (*MongoDBOpsRequest) XXX_DiscardUnknown

func (m *MongoDBOpsRequest) XXX_DiscardUnknown()

func (*MongoDBOpsRequest) XXX_Marshal

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

func (*MongoDBOpsRequest) XXX_Merge

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

func (*MongoDBOpsRequest) XXX_Size

func (m *MongoDBOpsRequest) XXX_Size() int

func (*MongoDBOpsRequest) XXX_Unmarshal

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

type MongoDBOpsRequestList

type MongoDBOpsRequestList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
	// Items is a list of MongoDBOpsRequest CRD objects
	Items []MongoDBOpsRequest `json:"items,omitempty" protobuf:"bytes,2,rep,name=items"`
}

MongoDBOpsRequestList is a list of MongoDBOpsRequests

func (*MongoDBOpsRequestList) DeepCopy

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

func (*MongoDBOpsRequestList) DeepCopyInto

func (in *MongoDBOpsRequestList) DeepCopyInto(out *MongoDBOpsRequestList)

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

func (*MongoDBOpsRequestList) DeepCopyObject

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

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

func (*MongoDBOpsRequestList) Descriptor

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

func (*MongoDBOpsRequestList) Marshal

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

func (*MongoDBOpsRequestList) MarshalTo

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

func (*MongoDBOpsRequestList) MarshalToSizedBuffer

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

func (*MongoDBOpsRequestList) ProtoMessage

func (*MongoDBOpsRequestList) ProtoMessage()

func (*MongoDBOpsRequestList) Reset

func (m *MongoDBOpsRequestList) Reset()

func (*MongoDBOpsRequestList) Size

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

func (*MongoDBOpsRequestList) String

func (this *MongoDBOpsRequestList) String() string

func (*MongoDBOpsRequestList) Unmarshal

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

func (*MongoDBOpsRequestList) XXX_DiscardUnknown

func (m *MongoDBOpsRequestList) XXX_DiscardUnknown()

func (*MongoDBOpsRequestList) XXX_Marshal

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

func (*MongoDBOpsRequestList) XXX_Merge

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

func (*MongoDBOpsRequestList) XXX_Size

func (m *MongoDBOpsRequestList) XXX_Size() int

func (*MongoDBOpsRequestList) XXX_Unmarshal

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

type MongoDBOpsRequestSpec

type MongoDBOpsRequestSpec struct {
	// Specifies the MongoDB reference
	DatabaseRef v1.LocalObjectReference `json:"databaseRef" protobuf:"bytes,1,opt,name=databaseRef"`
	// Specifies the ops request type: Upgrade, HorizontalScaling, VerticalScaling etc.
	Type OpsRequestType `json:"type" protobuf:"bytes,2,opt,name=type,casttype=OpsRequestType"`
	// Specifies information necessary for upgrading mongodb
	Upgrade *UpgradeSpec `json:"upgrade,omitempty" protobuf:"bytes,3,opt,name=upgrade"`
	// Specifies information necessary for horizontal scaling
	HorizontalScaling *MongoDBHorizontalScalingSpec `json:"horizontalScaling,omitempty" protobuf:"bytes,4,opt,name=horizontalScaling"`
	// Specifies information necessary for vertical scaling
	VerticalScaling *MongoDBVerticalScalingSpec `json:"verticalScaling,omitempty" protobuf:"bytes,5,opt,name=verticalScaling"`
}

MongoDBOpsRequestSpec is the spec for MongoDBOpsRequest

func (*MongoDBOpsRequestSpec) DeepCopy

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

func (*MongoDBOpsRequestSpec) DeepCopyInto

func (in *MongoDBOpsRequestSpec) DeepCopyInto(out *MongoDBOpsRequestSpec)

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

func (*MongoDBOpsRequestSpec) Descriptor

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

func (*MongoDBOpsRequestSpec) Marshal

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

func (*MongoDBOpsRequestSpec) MarshalTo

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

func (*MongoDBOpsRequestSpec) MarshalToSizedBuffer

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

func (*MongoDBOpsRequestSpec) ProtoMessage

func (*MongoDBOpsRequestSpec) ProtoMessage()

func (*MongoDBOpsRequestSpec) Reset

func (m *MongoDBOpsRequestSpec) Reset()

func (*MongoDBOpsRequestSpec) Size

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

func (*MongoDBOpsRequestSpec) String

func (this *MongoDBOpsRequestSpec) String() string

func (*MongoDBOpsRequestSpec) Unmarshal

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

func (*MongoDBOpsRequestSpec) XXX_DiscardUnknown

func (m *MongoDBOpsRequestSpec) XXX_DiscardUnknown()

func (*MongoDBOpsRequestSpec) XXX_Marshal

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

func (*MongoDBOpsRequestSpec) XXX_Merge

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

func (*MongoDBOpsRequestSpec) XXX_Size

func (m *MongoDBOpsRequestSpec) XXX_Size() int

func (*MongoDBOpsRequestSpec) XXX_Unmarshal

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

type MongoDBOpsRequestStatus

type MongoDBOpsRequestStatus struct {
	Phase OpsRequestPhase `json:"phase,omitempty" protobuf:"bytes,1,opt,name=phase,casttype=OpsRequestPhase"`
	// observedGeneration is the most recent generation observed for this resource. It corresponds to the
	// resource's generation, which is updated on mutation by the API Server.
	// +optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty" protobuf:"varint,2,opt,name=observedGeneration"`
	// Conditions applied to the request, such as approval or denial.
	// +optional
	Conditions []kmapi.Condition `json:"conditions,omitempty" protobuf:"bytes,3,rep,name=conditions"`
}

MongoDBOpsRequestStatus is the status for MongoDBOpsRequest

func (*MongoDBOpsRequestStatus) DeepCopy

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

func (*MongoDBOpsRequestStatus) DeepCopyInto

func (in *MongoDBOpsRequestStatus) DeepCopyInto(out *MongoDBOpsRequestStatus)

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

func (*MongoDBOpsRequestStatus) Descriptor

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

func (*MongoDBOpsRequestStatus) Marshal

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

func (*MongoDBOpsRequestStatus) MarshalTo

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

func (*MongoDBOpsRequestStatus) MarshalToSizedBuffer

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

func (*MongoDBOpsRequestStatus) ProtoMessage

func (*MongoDBOpsRequestStatus) ProtoMessage()

func (*MongoDBOpsRequestStatus) Reset

func (m *MongoDBOpsRequestStatus) Reset()

func (*MongoDBOpsRequestStatus) Size

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

func (*MongoDBOpsRequestStatus) String

func (this *MongoDBOpsRequestStatus) String() string

func (*MongoDBOpsRequestStatus) Unmarshal

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

func (*MongoDBOpsRequestStatus) XXX_DiscardUnknown

func (m *MongoDBOpsRequestStatus) XXX_DiscardUnknown()

func (*MongoDBOpsRequestStatus) XXX_Marshal

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

func (*MongoDBOpsRequestStatus) XXX_Merge

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

func (*MongoDBOpsRequestStatus) XXX_Size

func (m *MongoDBOpsRequestStatus) XXX_Size() int

func (*MongoDBOpsRequestStatus) XXX_Unmarshal

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

type MongoDBShardNode

type MongoDBShardNode struct {
	Shards   int32 `json:"shards,omitempty" protobuf:"bytes,1,opt,name=shards"`
	Replicas int32 `json:"replicas,omitempty" protobuf:"bytes,2,opt,name=replicas"`
}

MongoDBShardNode is the spec for mongodb Shard

func (*MongoDBShardNode) DeepCopy

func (in *MongoDBShardNode) DeepCopy() *MongoDBShardNode

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

func (*MongoDBShardNode) DeepCopyInto

func (in *MongoDBShardNode) DeepCopyInto(out *MongoDBShardNode)

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

func (*MongoDBShardNode) Descriptor

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

func (*MongoDBShardNode) Marshal

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

func (*MongoDBShardNode) MarshalTo

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

func (*MongoDBShardNode) MarshalToSizedBuffer

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

func (*MongoDBShardNode) ProtoMessage

func (*MongoDBShardNode) ProtoMessage()

func (*MongoDBShardNode) Reset

func (m *MongoDBShardNode) Reset()

func (*MongoDBShardNode) Size

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

func (*MongoDBShardNode) String

func (this *MongoDBShardNode) String() string

func (*MongoDBShardNode) Unmarshal

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

func (*MongoDBShardNode) XXX_DiscardUnknown

func (m *MongoDBShardNode) XXX_DiscardUnknown()

func (*MongoDBShardNode) XXX_Marshal

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

func (*MongoDBShardNode) XXX_Merge

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

func (*MongoDBShardNode) XXX_Size

func (m *MongoDBShardNode) XXX_Size() int

func (*MongoDBShardNode) XXX_Unmarshal

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

type MongoDBVerticalScalingSpec

type MongoDBVerticalScalingSpec struct {
	Standalone   *core.ResourceRequirements `json:"standalone,omitempty" protobuf:"bytes,1,opt,name=standalone"`
	Mongos       *core.ResourceRequirements `json:"mongos,omitempty" protobuf:"bytes,2,opt,name=mongos"`
	ConfigServer *core.ResourceRequirements `json:"configServer,omitempty" protobuf:"bytes,3,opt,name=configServer"`
	Shard        *core.ResourceRequirements `json:"shard,omitempty" protobuf:"bytes,4,opt,name=shard"`
	Exporter     *core.ResourceRequirements `json:"exporter,omitempty" protobuf:"bytes,5,opt,name=exporter"`
}

MongoDBVerticalScalingSpec is the spec for mongodb vertical scaling

func (*MongoDBVerticalScalingSpec) DeepCopy

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

func (*MongoDBVerticalScalingSpec) DeepCopyInto

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

func (*MongoDBVerticalScalingSpec) Descriptor

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

func (*MongoDBVerticalScalingSpec) Marshal

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

func (*MongoDBVerticalScalingSpec) MarshalTo

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

func (*MongoDBVerticalScalingSpec) MarshalToSizedBuffer

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

func (*MongoDBVerticalScalingSpec) ProtoMessage

func (*MongoDBVerticalScalingSpec) ProtoMessage()

func (*MongoDBVerticalScalingSpec) Reset

func (m *MongoDBVerticalScalingSpec) Reset()

func (*MongoDBVerticalScalingSpec) Size

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

func (*MongoDBVerticalScalingSpec) String

func (this *MongoDBVerticalScalingSpec) String() string

func (*MongoDBVerticalScalingSpec) Unmarshal

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

func (*MongoDBVerticalScalingSpec) XXX_DiscardUnknown

func (m *MongoDBVerticalScalingSpec) XXX_DiscardUnknown()

func (*MongoDBVerticalScalingSpec) XXX_Marshal

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

func (*MongoDBVerticalScalingSpec) XXX_Merge

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

func (*MongoDBVerticalScalingSpec) XXX_Size

func (m *MongoDBVerticalScalingSpec) XXX_Size() int

func (*MongoDBVerticalScalingSpec) XXX_Unmarshal

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

type MongosNode

type MongosNode struct {
	Replicas int32 `json:"replicas,omitempty" protobuf:"bytes,1,opt,name=replicas"`
}

MongosNode is the spec for mongodb Mongos

func (*MongosNode) DeepCopy

func (in *MongosNode) DeepCopy() *MongosNode

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

func (*MongosNode) DeepCopyInto

func (in *MongosNode) DeepCopyInto(out *MongosNode)

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

func (*MongosNode) Descriptor

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

func (*MongosNode) Marshal

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

func (*MongosNode) MarshalTo

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

func (*MongosNode) MarshalToSizedBuffer

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

func (*MongosNode) ProtoMessage

func (*MongosNode) ProtoMessage()

func (*MongosNode) Reset

func (m *MongosNode) Reset()

func (*MongosNode) Size

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

func (*MongosNode) String

func (this *MongosNode) String() string

func (*MongosNode) Unmarshal

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

func (*MongosNode) XXX_DiscardUnknown

func (m *MongosNode) XXX_DiscardUnknown()

func (*MongosNode) XXX_Marshal

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

func (*MongosNode) XXX_Merge

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

func (*MongosNode) XXX_Size

func (m *MongosNode) XXX_Size() int

func (*MongosNode) XXX_Unmarshal

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

type MySQLHorizontalScalingSpec

type MySQLHorizontalScalingSpec struct {
	// Number of nodes/members of the group
	Member *int32 `json:"member,omitempty" protobuf:"varint,1,opt,name=member"`
	// specifies the weight of the current member/Node
	MemberWeight int32 `json:"memberWeight,omitempty" protobuf:"varint,2,opt,name=memberWeight"`
}

func (*MySQLHorizontalScalingSpec) DeepCopy

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

func (*MySQLHorizontalScalingSpec) DeepCopyInto

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

func (*MySQLHorizontalScalingSpec) Descriptor

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

func (*MySQLHorizontalScalingSpec) Marshal

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

func (*MySQLHorizontalScalingSpec) MarshalTo

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

func (*MySQLHorizontalScalingSpec) MarshalToSizedBuffer

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

func (*MySQLHorizontalScalingSpec) ProtoMessage

func (*MySQLHorizontalScalingSpec) ProtoMessage()

func (*MySQLHorizontalScalingSpec) Reset

func (m *MySQLHorizontalScalingSpec) Reset()

func (*MySQLHorizontalScalingSpec) Size

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

func (*MySQLHorizontalScalingSpec) String

func (this *MySQLHorizontalScalingSpec) String() string

func (*MySQLHorizontalScalingSpec) Unmarshal

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

func (*MySQLHorizontalScalingSpec) XXX_DiscardUnknown

func (m *MySQLHorizontalScalingSpec) XXX_DiscardUnknown()

func (*MySQLHorizontalScalingSpec) XXX_Marshal

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

func (*MySQLHorizontalScalingSpec) XXX_Merge

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

func (*MySQLHorizontalScalingSpec) XXX_Size

func (m *MySQLHorizontalScalingSpec) XXX_Size() int

func (*MySQLHorizontalScalingSpec) XXX_Unmarshal

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

type MySQLOpsRequest

type MySQLOpsRequest struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
	Spec              MySQLOpsRequestSpec   `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"`
	Status            MySQLOpsRequestStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"`
}

+kubebuilder:object:root=true +kubebuilder:resource:path=mysqlopsrequests,singular=mysqlopsrequest,shortName=myops,categories={datastore,kubedb,appscode} +kubebuilder:subresource:status +kubebuilder:printcolumn:name="Type",type="string",JSONPath=".spec.type" +kubebuilder:printcolumn:name="Status",type="string",JSONPath=".status.phase" +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp"

func (MySQLOpsRequest) CustomResourceDefinition

func (_ MySQLOpsRequest) CustomResourceDefinition() *apiextensions.CustomResourceDefinition

func (*MySQLOpsRequest) DeepCopy

func (in *MySQLOpsRequest) DeepCopy() *MySQLOpsRequest

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

func (*MySQLOpsRequest) DeepCopyInto

func (in *MySQLOpsRequest) DeepCopyInto(out *MySQLOpsRequest)

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

func (*MySQLOpsRequest) DeepCopyObject

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

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

func (*MySQLOpsRequest) Descriptor

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

func (MySQLOpsRequest) GetKey

func (m MySQLOpsRequest) GetKey() string

func (*MySQLOpsRequest) Marshal

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

func (*MySQLOpsRequest) MarshalTo

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

func (*MySQLOpsRequest) MarshalToSizedBuffer

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

func (MySQLOpsRequest) OffshootLabels

func (m MySQLOpsRequest) OffshootLabels() map[string]string

func (MySQLOpsRequest) OffshootName

func (m MySQLOpsRequest) OffshootName() string

func (MySQLOpsRequest) OffshootSelectors

func (m MySQLOpsRequest) OffshootSelectors() map[string]string

func (*MySQLOpsRequest) ProtoMessage

func (*MySQLOpsRequest) ProtoMessage()

func (*MySQLOpsRequest) Reset

func (m *MySQLOpsRequest) Reset()

func (MySQLOpsRequest) ResourceKind

func (m MySQLOpsRequest) ResourceKind() string

func (MySQLOpsRequest) ResourcePlural

func (m MySQLOpsRequest) ResourcePlural() string

func (MySQLOpsRequest) ResourceShortCode

func (m MySQLOpsRequest) ResourceShortCode() string

func (MySQLOpsRequest) ResourceSingular

func (m MySQLOpsRequest) ResourceSingular() string

func (*MySQLOpsRequest) Size

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

func (*MySQLOpsRequest) String

func (this *MySQLOpsRequest) String() string

func (*MySQLOpsRequest) Unmarshal

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

func (MySQLOpsRequest) ValidateSpecs

func (m MySQLOpsRequest) ValidateSpecs() error

func (*MySQLOpsRequest) XXX_DiscardUnknown

func (m *MySQLOpsRequest) XXX_DiscardUnknown()

func (*MySQLOpsRequest) XXX_Marshal

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

func (*MySQLOpsRequest) XXX_Merge

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

func (*MySQLOpsRequest) XXX_Size

func (m *MySQLOpsRequest) XXX_Size() int

func (*MySQLOpsRequest) XXX_Unmarshal

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

type MySQLOpsRequestList

type MySQLOpsRequestList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
	// Items is a list of MySQLOpsRequest CRD objects
	Items []MySQLOpsRequest `json:"items,omitempty" protobuf:"bytes,2,rep,name=items"`
}

MySQLOpsRequestList is a list of MySQLOpsRequests

func (*MySQLOpsRequestList) DeepCopy

func (in *MySQLOpsRequestList) DeepCopy() *MySQLOpsRequestList

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

func (*MySQLOpsRequestList) DeepCopyInto

func (in *MySQLOpsRequestList) DeepCopyInto(out *MySQLOpsRequestList)

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

func (*MySQLOpsRequestList) DeepCopyObject

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

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

func (*MySQLOpsRequestList) Descriptor

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

func (*MySQLOpsRequestList) Marshal

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

func (*MySQLOpsRequestList) MarshalTo

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

func (*MySQLOpsRequestList) MarshalToSizedBuffer

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

func (*MySQLOpsRequestList) ProtoMessage

func (*MySQLOpsRequestList) ProtoMessage()

func (*MySQLOpsRequestList) Reset

func (m *MySQLOpsRequestList) Reset()

func (*MySQLOpsRequestList) Size

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

func (*MySQLOpsRequestList) String

func (this *MySQLOpsRequestList) String() string

func (*MySQLOpsRequestList) Unmarshal

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

func (*MySQLOpsRequestList) XXX_DiscardUnknown

func (m *MySQLOpsRequestList) XXX_DiscardUnknown()

func (*MySQLOpsRequestList) XXX_Marshal

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

func (*MySQLOpsRequestList) XXX_Merge

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

func (*MySQLOpsRequestList) XXX_Size

func (m *MySQLOpsRequestList) XXX_Size() int

func (*MySQLOpsRequestList) XXX_Unmarshal

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

type MySQLOpsRequestSpec

type MySQLOpsRequestSpec struct {
	// Specifies the database reference
	DatabaseRef core.LocalObjectReference `json:"databaseRef" protobuf:"bytes,1,opt,name=databaseRef"`
	// Specifies the current ordinal of the StatefulSet
	StatefulSetOrdinal *int32 `json:"statefulSetOrdinal,omitempty" protobuf:"varint,2,opt,name=statefulSetOrdinal"`
	// Specifies the ops request type; ScaleUp, ScaleDown, Upgrade etc.
	Type OpsRequestType `json:"type" protobuf:"bytes,3,opt,name=type,casttype=OpsRequestType"`
	// Specifies the field information that needed to be upgraded
	Upgrade *UpgradeSpec `json:"upgrade,omitempty" protobuf:"bytes,4,opt,name=upgrade"`
	// HorizontalScaling specifies the horizontal scaling.
	HorizontalScaling *MySQLHorizontalScalingSpec `json:"horizontalScaling,omitempty" protobuf:"bytes,5,opt,name=horizontalScaling"`
	// VerticalScaling specifies the vertical scaling.
	VerticalScaling *MySQLVerticalScalingSpec `json:"verticalScaling,omitempty" protobuf:"bytes,6,opt,name=verticalScaling"`
}

MySQLOpsRequestSpec is the spec for MySQLOpsRequest

func (*MySQLOpsRequestSpec) DeepCopy

func (in *MySQLOpsRequestSpec) DeepCopy() *MySQLOpsRequestSpec

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

func (*MySQLOpsRequestSpec) DeepCopyInto

func (in *MySQLOpsRequestSpec) DeepCopyInto(out *MySQLOpsRequestSpec)

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

func (*MySQLOpsRequestSpec) Descriptor

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

func (*MySQLOpsRequestSpec) Marshal

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

func (*MySQLOpsRequestSpec) MarshalTo

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

func (*MySQLOpsRequestSpec) MarshalToSizedBuffer

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

func (*MySQLOpsRequestSpec) ProtoMessage

func (*MySQLOpsRequestSpec) ProtoMessage()

func (*MySQLOpsRequestSpec) Reset

func (m *MySQLOpsRequestSpec) Reset()

func (*MySQLOpsRequestSpec) Size

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

func (*MySQLOpsRequestSpec) String

func (this *MySQLOpsRequestSpec) String() string

func (*MySQLOpsRequestSpec) Unmarshal

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

func (*MySQLOpsRequestSpec) XXX_DiscardUnknown

func (m *MySQLOpsRequestSpec) XXX_DiscardUnknown()

func (*MySQLOpsRequestSpec) XXX_Marshal

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

func (*MySQLOpsRequestSpec) XXX_Merge

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

func (*MySQLOpsRequestSpec) XXX_Size

func (m *MySQLOpsRequestSpec) XXX_Size() int

func (*MySQLOpsRequestSpec) XXX_Unmarshal

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

type MySQLOpsRequestStatus

type MySQLOpsRequestStatus struct {
	Phase OpsRequestPhase `json:"phase,omitempty" protobuf:"bytes,1,opt,name=phase,casttype=OpsRequestPhase"`
	// observedGeneration is the most recent generation observed for this resource. It corresponds to the
	// resource's generation, which is updated on mutation by the API Server.
	// +optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty" protobuf:"varint,2,opt,name=observedGeneration"`
	// Conditions applied to the request, such as approval or denial.
	// +optional
	Conditions []kmapi.Condition `json:"conditions,omitempty" protobuf:"bytes,3,rep,name=conditions"`
}

MySQLOpsRequestStatus is the status for MySQLOpsRequest

func (*MySQLOpsRequestStatus) DeepCopy

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

func (*MySQLOpsRequestStatus) DeepCopyInto

func (in *MySQLOpsRequestStatus) DeepCopyInto(out *MySQLOpsRequestStatus)

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

func (*MySQLOpsRequestStatus) Descriptor

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

func (*MySQLOpsRequestStatus) Marshal

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

func (*MySQLOpsRequestStatus) MarshalTo

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

func (*MySQLOpsRequestStatus) MarshalToSizedBuffer

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

func (*MySQLOpsRequestStatus) ProtoMessage

func (*MySQLOpsRequestStatus) ProtoMessage()

func (*MySQLOpsRequestStatus) Reset

func (m *MySQLOpsRequestStatus) Reset()

func (*MySQLOpsRequestStatus) Size

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

func (*MySQLOpsRequestStatus) String

func (this *MySQLOpsRequestStatus) String() string

func (*MySQLOpsRequestStatus) Unmarshal

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

func (*MySQLOpsRequestStatus) XXX_DiscardUnknown

func (m *MySQLOpsRequestStatus) XXX_DiscardUnknown()

func (*MySQLOpsRequestStatus) XXX_Marshal

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

func (*MySQLOpsRequestStatus) XXX_Merge

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

func (*MySQLOpsRequestStatus) XXX_Size

func (m *MySQLOpsRequestStatus) XXX_Size() int

func (*MySQLOpsRequestStatus) XXX_Unmarshal

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

type MySQLVerticalScalingSpec

type MySQLVerticalScalingSpec struct {
	MySQL    *core.ResourceRequirements `json:"mysql,omitempty" protobuf:"bytes,1,opt,name=mysql"`
	Exporter *core.ResourceRequirements `json:"exporter,omitempty" protobuf:"bytes,2,opt,name=exporter"`
}

func (*MySQLVerticalScalingSpec) DeepCopy

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

func (*MySQLVerticalScalingSpec) DeepCopyInto

func (in *MySQLVerticalScalingSpec) DeepCopyInto(out *MySQLVerticalScalingSpec)

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

func (*MySQLVerticalScalingSpec) Descriptor

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

func (*MySQLVerticalScalingSpec) Marshal

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

func (*MySQLVerticalScalingSpec) MarshalTo

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

func (*MySQLVerticalScalingSpec) MarshalToSizedBuffer

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

func (*MySQLVerticalScalingSpec) ProtoMessage

func (*MySQLVerticalScalingSpec) ProtoMessage()

func (*MySQLVerticalScalingSpec) Reset

func (m *MySQLVerticalScalingSpec) Reset()

func (*MySQLVerticalScalingSpec) Size

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

func (*MySQLVerticalScalingSpec) String

func (this *MySQLVerticalScalingSpec) String() string

func (*MySQLVerticalScalingSpec) Unmarshal

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

func (*MySQLVerticalScalingSpec) XXX_DiscardUnknown

func (m *MySQLVerticalScalingSpec) XXX_DiscardUnknown()

func (*MySQLVerticalScalingSpec) XXX_Marshal

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

func (*MySQLVerticalScalingSpec) XXX_Merge

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

func (*MySQLVerticalScalingSpec) XXX_Size

func (m *MySQLVerticalScalingSpec) XXX_Size() int

func (*MySQLVerticalScalingSpec) XXX_Unmarshal

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

type OpsRequestPhase

type OpsRequestPhase string
const (
	// used for ops requests that are currently Progressing
	OpsRequestPhaseProgressing OpsRequestPhase = "Progressing"
	// used for ops requests that are executed successfully
	OpsRequestPhaseSuccessful OpsRequestPhase = "Successful"
	// used for ops requests that are waiting for approval
	OpsRequestPhaseWaitingForApproval OpsRequestPhase = "WaitingForApproval"
	// used for ops requests that are failed
	OpsRequestPhaseFailed OpsRequestPhase = "Failed"
	// used for ops requests that are approved
	OpsRequestApproved OpsRequestPhase = "Approved"
	// used for ops requests that are denied
	OpsRequestDenied OpsRequestPhase = "Denied"
)

type OpsRequestType

type OpsRequestType string

+kubebuilder:validation:Enum=Upgrade;HorizontalScaling;VerticalScaling;VolumeExpansion;Restart;RotateCertificates

const (
	// used for Upgrade operation
	OpsRequestTypeUpgrade OpsRequestType = "Upgrade"
	// used for HorizontalScaling operation
	OpsRequestTypeHorizontalScaling OpsRequestType = "HorizontalScaling"
	// used for VerticalScaling operation
	OpsRequestTypeVerticalScaling OpsRequestType = "VerticalScaling"
	// used for VolumeExpansion operation
	OpsRequestTypeVolumeExpansion OpsRequestType = "VolumeExpansion"
	// used for Restart operation
	OpsRequestTypeRestart OpsRequestType = "Restart"
	// used for RotateCertificates operation
	OpsRequestTypeRotateCertificates OpsRequestType = "RotateCertificates"
)

type PerconaXtraDBOpsRequest

type PerconaXtraDBOpsRequest struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
	Spec              PerconaXtraDBOpsRequestSpec   `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"`
	Status            PerconaXtraDBOpsRequestStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"`
}

+kubebuilder:object:root=true +kubebuilder:resource:path=perconaxtradbopsrequests,singular=perconaxtradbopsrequest,shortName=pxcops,categories={datastore,kubedb,appscode} +kubebuilder:subresource:status +kubebuilder:printcolumn:name="Type",type="string",JSONPath=".spec.type" +kubebuilder:printcolumn:name="Status",type="string",JSONPath=".status.phase" +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp"

func (PerconaXtraDBOpsRequest) CustomResourceDefinition

func (_ PerconaXtraDBOpsRequest) CustomResourceDefinition() *apiextensions.CustomResourceDefinition

func (*PerconaXtraDBOpsRequest) DeepCopy

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

func (*PerconaXtraDBOpsRequest) DeepCopyInto

func (in *PerconaXtraDBOpsRequest) DeepCopyInto(out *PerconaXtraDBOpsRequest)

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

func (*PerconaXtraDBOpsRequest) DeepCopyObject

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

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

func (*PerconaXtraDBOpsRequest) Descriptor

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

func (*PerconaXtraDBOpsRequest) Marshal

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

func (*PerconaXtraDBOpsRequest) MarshalTo

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

func (*PerconaXtraDBOpsRequest) MarshalToSizedBuffer

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

func (*PerconaXtraDBOpsRequest) ProtoMessage

func (*PerconaXtraDBOpsRequest) ProtoMessage()

func (*PerconaXtraDBOpsRequest) Reset

func (m *PerconaXtraDBOpsRequest) Reset()

func (PerconaXtraDBOpsRequest) ResourceKind

func (p PerconaXtraDBOpsRequest) ResourceKind() string

func (PerconaXtraDBOpsRequest) ResourcePlural

func (p PerconaXtraDBOpsRequest) ResourcePlural() string

func (PerconaXtraDBOpsRequest) ResourceShortCode

func (p PerconaXtraDBOpsRequest) ResourceShortCode() string

func (PerconaXtraDBOpsRequest) ResourceSingular

func (p PerconaXtraDBOpsRequest) ResourceSingular() string

func (*PerconaXtraDBOpsRequest) Size

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

func (*PerconaXtraDBOpsRequest) String

func (this *PerconaXtraDBOpsRequest) String() string

func (*PerconaXtraDBOpsRequest) Unmarshal

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

func (PerconaXtraDBOpsRequest) ValidateSpecs

func (p PerconaXtraDBOpsRequest) ValidateSpecs() error

func (*PerconaXtraDBOpsRequest) XXX_DiscardUnknown

func (m *PerconaXtraDBOpsRequest) XXX_DiscardUnknown()

func (*PerconaXtraDBOpsRequest) XXX_Marshal

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

func (*PerconaXtraDBOpsRequest) XXX_Merge

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

func (*PerconaXtraDBOpsRequest) XXX_Size

func (m *PerconaXtraDBOpsRequest) XXX_Size() int

func (*PerconaXtraDBOpsRequest) XXX_Unmarshal

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

type PerconaXtraDBOpsRequestList

type PerconaXtraDBOpsRequestList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
	// Items is a list of PerconaXtraDBOpsRequest CRD objects
	Items []PerconaXtraDBOpsRequest `json:"items,omitempty" protobuf:"bytes,2,rep,name=items"`
}

PerconaXtraDBOpsRequestList is a list of PerconaXtraDBOpsRequests

func (*PerconaXtraDBOpsRequestList) DeepCopy

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

func (*PerconaXtraDBOpsRequestList) DeepCopyInto

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

func (*PerconaXtraDBOpsRequestList) DeepCopyObject

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

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

func (*PerconaXtraDBOpsRequestList) Descriptor

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

func (*PerconaXtraDBOpsRequestList) Marshal

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

func (*PerconaXtraDBOpsRequestList) MarshalTo

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

func (*PerconaXtraDBOpsRequestList) MarshalToSizedBuffer

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

func (*PerconaXtraDBOpsRequestList) ProtoMessage

func (*PerconaXtraDBOpsRequestList) ProtoMessage()

func (*PerconaXtraDBOpsRequestList) Reset

func (m *PerconaXtraDBOpsRequestList) Reset()

func (*PerconaXtraDBOpsRequestList) Size

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

func (*PerconaXtraDBOpsRequestList) String

func (this *PerconaXtraDBOpsRequestList) String() string

func (*PerconaXtraDBOpsRequestList) Unmarshal

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

func (*PerconaXtraDBOpsRequestList) XXX_DiscardUnknown

func (m *PerconaXtraDBOpsRequestList) XXX_DiscardUnknown()

func (*PerconaXtraDBOpsRequestList) XXX_Marshal

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

func (*PerconaXtraDBOpsRequestList) XXX_Merge

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

func (*PerconaXtraDBOpsRequestList) XXX_Size

func (m *PerconaXtraDBOpsRequestList) XXX_Size() int

func (*PerconaXtraDBOpsRequestList) XXX_Unmarshal

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

type PerconaXtraDBOpsRequestSpec

type PerconaXtraDBOpsRequestSpec struct {
	// Specifies the Elasticsearch reference
	DatabaseRef v1.LocalObjectReference `json:"databaseRef" protobuf:"bytes,1,opt,name=databaseRef"`
	// Specifies the ops request type: Upgrade, HorizontalScaling, VerticalScaling etc.
	Type OpsRequestType `json:"type" protobuf:"bytes,2,opt,name=type,casttype=OpsRequestType"`
	// Specifies the field information that needed to be upgraded
	Upgrade *UpgradeSpec `json:"upgrade,omitempty" protobuf:"bytes,3,opt,name=upgrade"`
}

PerconaXtraDBOpsRequestSpec is the spec for PerconaXtraDBOpsRequest

func (*PerconaXtraDBOpsRequestSpec) DeepCopy

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

func (*PerconaXtraDBOpsRequestSpec) DeepCopyInto

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

func (*PerconaXtraDBOpsRequestSpec) Descriptor

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

func (*PerconaXtraDBOpsRequestSpec) Marshal

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

func (*PerconaXtraDBOpsRequestSpec) MarshalTo

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

func (*PerconaXtraDBOpsRequestSpec) MarshalToSizedBuffer

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

func (*PerconaXtraDBOpsRequestSpec) ProtoMessage

func (*PerconaXtraDBOpsRequestSpec) ProtoMessage()

func (*PerconaXtraDBOpsRequestSpec) Reset

func (m *PerconaXtraDBOpsRequestSpec) Reset()

func (*PerconaXtraDBOpsRequestSpec) Size

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

func (*PerconaXtraDBOpsRequestSpec) String

func (this *PerconaXtraDBOpsRequestSpec) String() string

func (*PerconaXtraDBOpsRequestSpec) Unmarshal

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

func (*PerconaXtraDBOpsRequestSpec) XXX_DiscardUnknown

func (m *PerconaXtraDBOpsRequestSpec) XXX_DiscardUnknown()

func (*PerconaXtraDBOpsRequestSpec) XXX_Marshal

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

func (*PerconaXtraDBOpsRequestSpec) XXX_Merge

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

func (*PerconaXtraDBOpsRequestSpec) XXX_Size

func (m *PerconaXtraDBOpsRequestSpec) XXX_Size() int

func (*PerconaXtraDBOpsRequestSpec) XXX_Unmarshal

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

type PerconaXtraDBOpsRequestStatus

type PerconaXtraDBOpsRequestStatus struct {
	Phase OpsRequestPhase `json:"phase,omitempty" protobuf:"bytes,1,opt,name=phase,casttype=OpsRequestPhase"`
	// observedGeneration is the most recent generation observed for this resource. It corresponds to the
	// resource's generation, which is updated on mutation by the API Server.
	// +optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty" protobuf:"varint,2,opt,name=observedGeneration"`
	// Conditions applied to the request, such as approval or denial.
	// +optional
	Conditions []kmapi.Condition `json:"conditions,omitempty" protobuf:"bytes,3,rep,name=conditions"`
}

PerconaXtraDBOpsRequestStatus is the status for PerconaXtraDBOpsRequest

func (*PerconaXtraDBOpsRequestStatus) DeepCopy

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

func (*PerconaXtraDBOpsRequestStatus) DeepCopyInto

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

func (*PerconaXtraDBOpsRequestStatus) Descriptor

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

func (*PerconaXtraDBOpsRequestStatus) Marshal

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

func (*PerconaXtraDBOpsRequestStatus) MarshalTo

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

func (*PerconaXtraDBOpsRequestStatus) MarshalToSizedBuffer

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

func (*PerconaXtraDBOpsRequestStatus) ProtoMessage

func (*PerconaXtraDBOpsRequestStatus) ProtoMessage()

func (*PerconaXtraDBOpsRequestStatus) Reset

func (m *PerconaXtraDBOpsRequestStatus) Reset()

func (*PerconaXtraDBOpsRequestStatus) Size

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

func (*PerconaXtraDBOpsRequestStatus) String

func (this *PerconaXtraDBOpsRequestStatus) String() string

func (*PerconaXtraDBOpsRequestStatus) Unmarshal

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

func (*PerconaXtraDBOpsRequestStatus) XXX_DiscardUnknown

func (m *PerconaXtraDBOpsRequestStatus) XXX_DiscardUnknown()

func (*PerconaXtraDBOpsRequestStatus) XXX_Marshal

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

func (*PerconaXtraDBOpsRequestStatus) XXX_Merge

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

func (*PerconaXtraDBOpsRequestStatus) XXX_Size

func (m *PerconaXtraDBOpsRequestStatus) XXX_Size() int

func (*PerconaXtraDBOpsRequestStatus) XXX_Unmarshal

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

type PgBouncerOpsRequest

type PgBouncerOpsRequest struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
	Spec              PgBouncerOpsRequestSpec   `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"`
	Status            PgBouncerOpsRequestStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"`
}

+kubebuilder:object:root=true +kubebuilder:resource:path=pgbounceropsrequests,singular=pgbounceropsrequest,shortName=pbops,categories={datastore,kubedb,appscode} +kubebuilder:subresource:status +kubebuilder:printcolumn:name="Type",type="string",JSONPath=".spec.type" +kubebuilder:printcolumn:name="Status",type="string",JSONPath=".status.phase" +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp"

func (PgBouncerOpsRequest) CustomResourceDefinition

func (_ PgBouncerOpsRequest) CustomResourceDefinition() *apiextensions.CustomResourceDefinition

func (*PgBouncerOpsRequest) DeepCopy

func (in *PgBouncerOpsRequest) DeepCopy() *PgBouncerOpsRequest

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

func (*PgBouncerOpsRequest) DeepCopyInto

func (in *PgBouncerOpsRequest) DeepCopyInto(out *PgBouncerOpsRequest)

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

func (*PgBouncerOpsRequest) DeepCopyObject

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

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

func (*PgBouncerOpsRequest) Descriptor

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

func (*PgBouncerOpsRequest) Marshal

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

func (*PgBouncerOpsRequest) MarshalTo

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

func (*PgBouncerOpsRequest) MarshalToSizedBuffer

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

func (*PgBouncerOpsRequest) ProtoMessage

func (*PgBouncerOpsRequest) ProtoMessage()

func (*PgBouncerOpsRequest) Reset

func (m *PgBouncerOpsRequest) Reset()

func (PgBouncerOpsRequest) ResourceKind

func (p PgBouncerOpsRequest) ResourceKind() string

func (PgBouncerOpsRequest) ResourcePlural

func (p PgBouncerOpsRequest) ResourcePlural() string

func (PgBouncerOpsRequest) ResourceShortCode

func (p PgBouncerOpsRequest) ResourceShortCode() string

func (PgBouncerOpsRequest) ResourceSingular

func (p PgBouncerOpsRequest) ResourceSingular() string

func (*PgBouncerOpsRequest) Size

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

func (*PgBouncerOpsRequest) String

func (this *PgBouncerOpsRequest) String() string

func (*PgBouncerOpsRequest) Unmarshal

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

func (PgBouncerOpsRequest) ValidateSpecs

func (p PgBouncerOpsRequest) ValidateSpecs() error

func (*PgBouncerOpsRequest) XXX_DiscardUnknown

func (m *PgBouncerOpsRequest) XXX_DiscardUnknown()

func (*PgBouncerOpsRequest) XXX_Marshal

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

func (*PgBouncerOpsRequest) XXX_Merge

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

func (*PgBouncerOpsRequest) XXX_Size

func (m *PgBouncerOpsRequest) XXX_Size() int

func (*PgBouncerOpsRequest) XXX_Unmarshal

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

type PgBouncerOpsRequestList

type PgBouncerOpsRequestList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
	// Items is a list of PgBouncerOpsRequest CRD objects
	Items []PgBouncerOpsRequest `json:"items,omitempty" protobuf:"bytes,2,rep,name=items"`
}

PgBouncerOpsRequestList is a list of PgBouncerOpsRequests

func (*PgBouncerOpsRequestList) DeepCopy

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

func (*PgBouncerOpsRequestList) DeepCopyInto

func (in *PgBouncerOpsRequestList) DeepCopyInto(out *PgBouncerOpsRequestList)

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

func (*PgBouncerOpsRequestList) DeepCopyObject

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

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

func (*PgBouncerOpsRequestList) Descriptor

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

func (*PgBouncerOpsRequestList) Marshal

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

func (*PgBouncerOpsRequestList) MarshalTo

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

func (*PgBouncerOpsRequestList) MarshalToSizedBuffer

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

func (*PgBouncerOpsRequestList) ProtoMessage

func (*PgBouncerOpsRequestList) ProtoMessage()

func (*PgBouncerOpsRequestList) Reset

func (m *PgBouncerOpsRequestList) Reset()

func (*PgBouncerOpsRequestList) Size

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

func (*PgBouncerOpsRequestList) String

func (this *PgBouncerOpsRequestList) String() string

func (*PgBouncerOpsRequestList) Unmarshal

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

func (*PgBouncerOpsRequestList) XXX_DiscardUnknown

func (m *PgBouncerOpsRequestList) XXX_DiscardUnknown()

func (*PgBouncerOpsRequestList) XXX_Marshal

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

func (*PgBouncerOpsRequestList) XXX_Merge

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

func (*PgBouncerOpsRequestList) XXX_Size

func (m *PgBouncerOpsRequestList) XXX_Size() int

func (*PgBouncerOpsRequestList) XXX_Unmarshal

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

type PgBouncerOpsRequestSpec

type PgBouncerOpsRequestSpec struct {
	// Specifies the Elasticsearch reference
	DatabaseRef v1.LocalObjectReference `json:"databaseRef" protobuf:"bytes,1,opt,name=databaseRef"`
	// Specifies the ops request type: Upgrade, HorizontalScaling, VerticalScaling etc.
	Type OpsRequestType `json:"type" protobuf:"bytes,2,opt,name=type,casttype=OpsRequestType"`
	// Specifies the field information that needed to be upgraded
	Upgrade *UpgradeSpec `json:"upgrade,omitempty" protobuf:"bytes,3,opt,name=upgrade"`
}

PgBouncerOpsRequestSpec is the spec for PgBouncerOpsRequest

func (*PgBouncerOpsRequestSpec) DeepCopy

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

func (*PgBouncerOpsRequestSpec) DeepCopyInto

func (in *PgBouncerOpsRequestSpec) DeepCopyInto(out *PgBouncerOpsRequestSpec)

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

func (*PgBouncerOpsRequestSpec) Descriptor

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

func (*PgBouncerOpsRequestSpec) Marshal

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

func (*PgBouncerOpsRequestSpec) MarshalTo

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

func (*PgBouncerOpsRequestSpec) MarshalToSizedBuffer

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

func (*PgBouncerOpsRequestSpec) ProtoMessage

func (*PgBouncerOpsRequestSpec) ProtoMessage()

func (*PgBouncerOpsRequestSpec) Reset

func (m *PgBouncerOpsRequestSpec) Reset()

func (*PgBouncerOpsRequestSpec) Size

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

func (*PgBouncerOpsRequestSpec) String

func (this *PgBouncerOpsRequestSpec) String() string

func (*PgBouncerOpsRequestSpec) Unmarshal

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

func (*PgBouncerOpsRequestSpec) XXX_DiscardUnknown

func (m *PgBouncerOpsRequestSpec) XXX_DiscardUnknown()

func (*PgBouncerOpsRequestSpec) XXX_Marshal

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

func (*PgBouncerOpsRequestSpec) XXX_Merge

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

func (*PgBouncerOpsRequestSpec) XXX_Size

func (m *PgBouncerOpsRequestSpec) XXX_Size() int

func (*PgBouncerOpsRequestSpec) XXX_Unmarshal

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

type PgBouncerOpsRequestStatus

type PgBouncerOpsRequestStatus struct {
	Phase OpsRequestPhase `json:"phase,omitempty" protobuf:"bytes,1,opt,name=phase,casttype=OpsRequestPhase"`
	// observedGeneration is the most recent generation observed for this resource. It corresponds to the
	// resource's generation, which is updated on mutation by the API Server.
	// +optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty" protobuf:"varint,2,opt,name=observedGeneration"`
	// Conditions applied to the request, such as approval or denial.
	// +optional
	Conditions []kmapi.Condition `json:"conditions,omitempty" protobuf:"bytes,3,rep,name=conditions"`
}

PgBouncerOpsRequestStatus is the status for PgBouncerOpsRequest

func (*PgBouncerOpsRequestStatus) DeepCopy

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

func (*PgBouncerOpsRequestStatus) DeepCopyInto

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

func (*PgBouncerOpsRequestStatus) Descriptor

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

func (*PgBouncerOpsRequestStatus) Marshal

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

func (*PgBouncerOpsRequestStatus) MarshalTo

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

func (*PgBouncerOpsRequestStatus) MarshalToSizedBuffer

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

func (*PgBouncerOpsRequestStatus) ProtoMessage

func (*PgBouncerOpsRequestStatus) ProtoMessage()

func (*PgBouncerOpsRequestStatus) Reset

func (m *PgBouncerOpsRequestStatus) Reset()

func (*PgBouncerOpsRequestStatus) Size

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

func (*PgBouncerOpsRequestStatus) String

func (this *PgBouncerOpsRequestStatus) String() string

func (*PgBouncerOpsRequestStatus) Unmarshal

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

func (*PgBouncerOpsRequestStatus) XXX_DiscardUnknown

func (m *PgBouncerOpsRequestStatus) XXX_DiscardUnknown()

func (*PgBouncerOpsRequestStatus) XXX_Marshal

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

func (*PgBouncerOpsRequestStatus) XXX_Merge

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

func (*PgBouncerOpsRequestStatus) XXX_Size

func (m *PgBouncerOpsRequestStatus) XXX_Size() int

func (*PgBouncerOpsRequestStatus) XXX_Unmarshal

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

type PostgresOpsRequest

type PostgresOpsRequest struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
	Spec              PostgresOpsRequestSpec   `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"`
	Status            PostgresOpsRequestStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"`
}

+kubebuilder:object:root=true +kubebuilder:resource:path=postgresopsrequests,singular=postgresopsrequest,shortName=pgops,categories={datastore,kubedb,appscode} +kubebuilder:subresource:status +kubebuilder:printcolumn:name="Type",type="string",JSONPath=".spec.type" +kubebuilder:printcolumn:name="Status",type="string",JSONPath=".status.phase" +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp"

func (PostgresOpsRequest) CustomResourceDefinition

func (_ PostgresOpsRequest) CustomResourceDefinition() *apiextensions.CustomResourceDefinition

func (*PostgresOpsRequest) DeepCopy

func (in *PostgresOpsRequest) DeepCopy() *PostgresOpsRequest

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

func (*PostgresOpsRequest) DeepCopyInto

func (in *PostgresOpsRequest) DeepCopyInto(out *PostgresOpsRequest)

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

func (*PostgresOpsRequest) DeepCopyObject

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

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

func (*PostgresOpsRequest) Descriptor

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

func (*PostgresOpsRequest) Marshal

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

func (*PostgresOpsRequest) MarshalTo

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

func (*PostgresOpsRequest) MarshalToSizedBuffer

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

func (*PostgresOpsRequest) ProtoMessage

func (*PostgresOpsRequest) ProtoMessage()

func (*PostgresOpsRequest) Reset

func (m *PostgresOpsRequest) Reset()

func (PostgresOpsRequest) ResourceKind

func (p PostgresOpsRequest) ResourceKind() string

func (PostgresOpsRequest) ResourcePlural

func (p PostgresOpsRequest) ResourcePlural() string

func (PostgresOpsRequest) ResourceShortCode

func (p PostgresOpsRequest) ResourceShortCode() string

func (PostgresOpsRequest) ResourceSingular

func (p PostgresOpsRequest) ResourceSingular() string

func (*PostgresOpsRequest) Size

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

func (*PostgresOpsRequest) String

func (this *PostgresOpsRequest) String() string

func (*PostgresOpsRequest) Unmarshal

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

func (PostgresOpsRequest) ValidateSpecs

func (p PostgresOpsRequest) ValidateSpecs() error

func (*PostgresOpsRequest) XXX_DiscardUnknown

func (m *PostgresOpsRequest) XXX_DiscardUnknown()

func (*PostgresOpsRequest) XXX_Marshal

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

func (*PostgresOpsRequest) XXX_Merge

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

func (*PostgresOpsRequest) XXX_Size

func (m *PostgresOpsRequest) XXX_Size() int

func (*PostgresOpsRequest) XXX_Unmarshal

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

type PostgresOpsRequestList

type PostgresOpsRequestList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
	// Items is a list of PostgresOpsRequest CRD objects
	Items []PostgresOpsRequest `json:"items,omitempty" protobuf:"bytes,2,rep,name=items"`
}

PostgresOpsRequestList is a list of PostgresOpsRequests

func (*PostgresOpsRequestList) DeepCopy

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

func (*PostgresOpsRequestList) DeepCopyInto

func (in *PostgresOpsRequestList) DeepCopyInto(out *PostgresOpsRequestList)

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

func (*PostgresOpsRequestList) DeepCopyObject

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

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

func (*PostgresOpsRequestList) Descriptor

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

func (*PostgresOpsRequestList) Marshal

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

func (*PostgresOpsRequestList) MarshalTo

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

func (*PostgresOpsRequestList) MarshalToSizedBuffer

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

func (*PostgresOpsRequestList) ProtoMessage

func (*PostgresOpsRequestList) ProtoMessage()

func (*PostgresOpsRequestList) Reset

func (m *PostgresOpsRequestList) Reset()

func (*PostgresOpsRequestList) Size

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

func (*PostgresOpsRequestList) String

func (this *PostgresOpsRequestList) String() string

func (*PostgresOpsRequestList) Unmarshal

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

func (*PostgresOpsRequestList) XXX_DiscardUnknown

func (m *PostgresOpsRequestList) XXX_DiscardUnknown()

func (*PostgresOpsRequestList) XXX_Marshal

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

func (*PostgresOpsRequestList) XXX_Merge

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

func (*PostgresOpsRequestList) XXX_Size

func (m *PostgresOpsRequestList) XXX_Size() int

func (*PostgresOpsRequestList) XXX_Unmarshal

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

type PostgresOpsRequestSpec

type PostgresOpsRequestSpec struct {
	// Specifies the Elasticsearch reference
	DatabaseRef v1.LocalObjectReference `json:"databaseRef" protobuf:"bytes,1,opt,name=databaseRef"`
	// Specifies the ops request type: Upgrade, HorizontalScaling, VerticalScaling etc.
	Type OpsRequestType `json:"type" protobuf:"bytes,2,opt,name=type,casttype=OpsRequestType"`
	// Specifies the field information that needed to be upgraded
	Upgrade *UpgradeSpec `json:"upgrade,omitempty" protobuf:"bytes,3,opt,name=upgrade"`
}

PostgresOpsRequestSpec is the spec for PostgresOpsRequest

func (*PostgresOpsRequestSpec) DeepCopy

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

func (*PostgresOpsRequestSpec) DeepCopyInto

func (in *PostgresOpsRequestSpec) DeepCopyInto(out *PostgresOpsRequestSpec)

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

func (*PostgresOpsRequestSpec) Descriptor

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

func (*PostgresOpsRequestSpec) Marshal

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

func (*PostgresOpsRequestSpec) MarshalTo

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

func (*PostgresOpsRequestSpec) MarshalToSizedBuffer

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

func (*PostgresOpsRequestSpec) ProtoMessage

func (*PostgresOpsRequestSpec) ProtoMessage()

func (*PostgresOpsRequestSpec) Reset

func (m *PostgresOpsRequestSpec) Reset()

func (*PostgresOpsRequestSpec) Size

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

func (*PostgresOpsRequestSpec) String

func (this *PostgresOpsRequestSpec) String() string

func (*PostgresOpsRequestSpec) Unmarshal

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

func (*PostgresOpsRequestSpec) XXX_DiscardUnknown

func (m *PostgresOpsRequestSpec) XXX_DiscardUnknown()

func (*PostgresOpsRequestSpec) XXX_Marshal

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

func (*PostgresOpsRequestSpec) XXX_Merge

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

func (*PostgresOpsRequestSpec) XXX_Size

func (m *PostgresOpsRequestSpec) XXX_Size() int

func (*PostgresOpsRequestSpec) XXX_Unmarshal

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

type PostgresOpsRequestStatus

type PostgresOpsRequestStatus struct {
	Phase OpsRequestPhase `json:"phase,omitempty" protobuf:"bytes,1,opt,name=phase,casttype=OpsRequestPhase"`
	// observedGeneration is the most recent generation observed for this resource. It corresponds to the
	// resource's generation, which is updated on mutation by the API Server.
	// +optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty" protobuf:"varint,2,opt,name=observedGeneration"`
	// Conditions applied to the request, such as approval or denial.
	// +optional
	Conditions []kmapi.Condition `json:"conditions,omitempty" protobuf:"bytes,3,rep,name=conditions"`
}

PostgresOpsRequestStatus is the status for PostgresOpsRequest

func (*PostgresOpsRequestStatus) DeepCopy

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

func (*PostgresOpsRequestStatus) DeepCopyInto

func (in *PostgresOpsRequestStatus) DeepCopyInto(out *PostgresOpsRequestStatus)

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

func (*PostgresOpsRequestStatus) Descriptor

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

func (*PostgresOpsRequestStatus) Marshal

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

func (*PostgresOpsRequestStatus) MarshalTo

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

func (*PostgresOpsRequestStatus) MarshalToSizedBuffer

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

func (*PostgresOpsRequestStatus) ProtoMessage

func (*PostgresOpsRequestStatus) ProtoMessage()

func (*PostgresOpsRequestStatus) Reset

func (m *PostgresOpsRequestStatus) Reset()

func (*PostgresOpsRequestStatus) Size

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

func (*PostgresOpsRequestStatus) String

func (this *PostgresOpsRequestStatus) String() string

func (*PostgresOpsRequestStatus) Unmarshal

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

func (*PostgresOpsRequestStatus) XXX_DiscardUnknown

func (m *PostgresOpsRequestStatus) XXX_DiscardUnknown()

func (*PostgresOpsRequestStatus) XXX_Marshal

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

func (*PostgresOpsRequestStatus) XXX_Merge

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

func (*PostgresOpsRequestStatus) XXX_Size

func (m *PostgresOpsRequestStatus) XXX_Size() int

func (*PostgresOpsRequestStatus) XXX_Unmarshal

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

type ProxySQLOpsRequest

type ProxySQLOpsRequest struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
	Spec              ProxySQLOpsRequestSpec   `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"`
	Status            ProxySQLOpsRequestStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"`
}

+kubebuilder:object:root=true +kubebuilder:resource:path=proxysqlopsrequests,singular=proxysqlopsrequest,shortName=proxyops,categories={datastore,kubedb,appscode} +kubebuilder:subresource:status +kubebuilder:printcolumn:name="Type",type="string",JSONPath=".spec.type" +kubebuilder:printcolumn:name="Status",type="string",JSONPath=".status.phase" +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp"

func (ProxySQLOpsRequest) CustomResourceDefinition

func (_ ProxySQLOpsRequest) CustomResourceDefinition() *apiextensions.CustomResourceDefinition

func (*ProxySQLOpsRequest) DeepCopy

func (in *ProxySQLOpsRequest) DeepCopy() *ProxySQLOpsRequest

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

func (*ProxySQLOpsRequest) DeepCopyInto

func (in *ProxySQLOpsRequest) DeepCopyInto(out *ProxySQLOpsRequest)

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

func (*ProxySQLOpsRequest) DeepCopyObject

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

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

func (*ProxySQLOpsRequest) Descriptor

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

func (*ProxySQLOpsRequest) Marshal

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

func (*ProxySQLOpsRequest) MarshalTo

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

func (*ProxySQLOpsRequest) MarshalToSizedBuffer

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

func (*ProxySQLOpsRequest) ProtoMessage

func (*ProxySQLOpsRequest) ProtoMessage()

func (*ProxySQLOpsRequest) Reset

func (m *ProxySQLOpsRequest) Reset()

func (ProxySQLOpsRequest) ResourceKind

func (p ProxySQLOpsRequest) ResourceKind() string

func (ProxySQLOpsRequest) ResourcePlural

func (p ProxySQLOpsRequest) ResourcePlural() string

func (ProxySQLOpsRequest) ResourceShortCode

func (p ProxySQLOpsRequest) ResourceShortCode() string

func (ProxySQLOpsRequest) ResourceSingular

func (p ProxySQLOpsRequest) ResourceSingular() string

func (*ProxySQLOpsRequest) Size

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

func (*ProxySQLOpsRequest) String

func (this *ProxySQLOpsRequest) String() string

func (*ProxySQLOpsRequest) Unmarshal

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

func (*ProxySQLOpsRequest) XXX_DiscardUnknown

func (m *ProxySQLOpsRequest) XXX_DiscardUnknown()

func (*ProxySQLOpsRequest) XXX_Marshal

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

func (*ProxySQLOpsRequest) XXX_Merge

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

func (*ProxySQLOpsRequest) XXX_Size

func (m *ProxySQLOpsRequest) XXX_Size() int

func (*ProxySQLOpsRequest) XXX_Unmarshal

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

type ProxySQLOpsRequestList

type ProxySQLOpsRequestList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
	// Items is a list of ProxySQLOpsRequest CRD objects
	Items []ProxySQLOpsRequest `json:"items,omitempty" protobuf:"bytes,2,rep,name=items"`
}

ProxySQLOpsRequestList is a list of ProxySQLOpsRequests

func (*ProxySQLOpsRequestList) DeepCopy

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

func (*ProxySQLOpsRequestList) DeepCopyInto

func (in *ProxySQLOpsRequestList) DeepCopyInto(out *ProxySQLOpsRequestList)

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

func (*ProxySQLOpsRequestList) DeepCopyObject

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

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

func (*ProxySQLOpsRequestList) Descriptor

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

func (*ProxySQLOpsRequestList) Marshal

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

func (*ProxySQLOpsRequestList) MarshalTo

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

func (*ProxySQLOpsRequestList) MarshalToSizedBuffer

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

func (*ProxySQLOpsRequestList) ProtoMessage

func (*ProxySQLOpsRequestList) ProtoMessage()

func (*ProxySQLOpsRequestList) Reset

func (m *ProxySQLOpsRequestList) Reset()

func (*ProxySQLOpsRequestList) Size

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

func (*ProxySQLOpsRequestList) String

func (this *ProxySQLOpsRequestList) String() string

func (*ProxySQLOpsRequestList) Unmarshal

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

func (*ProxySQLOpsRequestList) XXX_DiscardUnknown

func (m *ProxySQLOpsRequestList) XXX_DiscardUnknown()

func (*ProxySQLOpsRequestList) XXX_Marshal

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

func (*ProxySQLOpsRequestList) XXX_Merge

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

func (*ProxySQLOpsRequestList) XXX_Size

func (m *ProxySQLOpsRequestList) XXX_Size() int

func (*ProxySQLOpsRequestList) XXX_Unmarshal

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

type ProxySQLOpsRequestSpec

type ProxySQLOpsRequestSpec struct {
	// Specifies the Elasticsearch reference
	DatabaseRef v1.LocalObjectReference `json:"databaseRef" protobuf:"bytes,1,opt,name=databaseRef"`
	// Specifies the ops request type: Upgrade, HorizontalScaling, VerticalScaling etc.
	Type OpsRequestType `json:"type" protobuf:"bytes,2,opt,name=type,casttype=OpsRequestType"`
	// Specifies the field information that needed to be upgraded
	Upgrade *UpgradeSpec `json:"upgrade,omitempty" protobuf:"bytes,3,opt,name=upgrade"`
}

ProxySQLOpsRequestSpec is the spec for ProxySQLOpsRequest

func (*ProxySQLOpsRequestSpec) DeepCopy

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

func (*ProxySQLOpsRequestSpec) DeepCopyInto

func (in *ProxySQLOpsRequestSpec) DeepCopyInto(out *ProxySQLOpsRequestSpec)

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

func (*ProxySQLOpsRequestSpec) Descriptor

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

func (*ProxySQLOpsRequestSpec) Marshal

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

func (*ProxySQLOpsRequestSpec) MarshalTo

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

func (*ProxySQLOpsRequestSpec) MarshalToSizedBuffer

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

func (*ProxySQLOpsRequestSpec) ProtoMessage

func (*ProxySQLOpsRequestSpec) ProtoMessage()

func (*ProxySQLOpsRequestSpec) Reset

func (m *ProxySQLOpsRequestSpec) Reset()

func (*ProxySQLOpsRequestSpec) Size

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

func (*ProxySQLOpsRequestSpec) String

func (this *ProxySQLOpsRequestSpec) String() string

func (*ProxySQLOpsRequestSpec) Unmarshal

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

func (*ProxySQLOpsRequestSpec) XXX_DiscardUnknown

func (m *ProxySQLOpsRequestSpec) XXX_DiscardUnknown()

func (*ProxySQLOpsRequestSpec) XXX_Marshal

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

func (*ProxySQLOpsRequestSpec) XXX_Merge

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

func (*ProxySQLOpsRequestSpec) XXX_Size

func (m *ProxySQLOpsRequestSpec) XXX_Size() int

func (*ProxySQLOpsRequestSpec) XXX_Unmarshal

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

type ProxySQLOpsRequestStatus

type ProxySQLOpsRequestStatus struct {
	Phase OpsRequestPhase `json:"phase,omitempty" protobuf:"bytes,1,opt,name=phase,casttype=OpsRequestPhase"`
	// observedGeneration is the most recent generation observed for this resource. It corresponds to the
	// resource's generation, which is updated on mutation by the API Server.
	// +optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty" protobuf:"varint,2,opt,name=observedGeneration"`
	// Conditions applied to the request, such as approval or denial.
	// +optional
	Conditions []kmapi.Condition `json:"conditions,omitempty" protobuf:"bytes,3,rep,name=conditions"`
}

ProxySQLOpsRequestStatus is the status for ProxySQLOpsRequest

func (*ProxySQLOpsRequestStatus) DeepCopy

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

func (*ProxySQLOpsRequestStatus) DeepCopyInto

func (in *ProxySQLOpsRequestStatus) DeepCopyInto(out *ProxySQLOpsRequestStatus)

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

func (*ProxySQLOpsRequestStatus) Descriptor

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

func (*ProxySQLOpsRequestStatus) Marshal

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

func (*ProxySQLOpsRequestStatus) MarshalTo

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

func (*ProxySQLOpsRequestStatus) MarshalToSizedBuffer

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

func (*ProxySQLOpsRequestStatus) ProtoMessage

func (*ProxySQLOpsRequestStatus) ProtoMessage()

func (*ProxySQLOpsRequestStatus) Reset

func (m *ProxySQLOpsRequestStatus) Reset()

func (*ProxySQLOpsRequestStatus) Size

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

func (*ProxySQLOpsRequestStatus) String

func (this *ProxySQLOpsRequestStatus) String() string

func (*ProxySQLOpsRequestStatus) Unmarshal

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

func (*ProxySQLOpsRequestStatus) XXX_DiscardUnknown

func (m *ProxySQLOpsRequestStatus) XXX_DiscardUnknown()

func (*ProxySQLOpsRequestStatus) XXX_Marshal

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

func (*ProxySQLOpsRequestStatus) XXX_Merge

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

func (*ProxySQLOpsRequestStatus) XXX_Size

func (m *ProxySQLOpsRequestStatus) XXX_Size() int

func (*ProxySQLOpsRequestStatus) XXX_Unmarshal

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

type RedisOpsRequest

type RedisOpsRequest struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
	Spec              RedisOpsRequestSpec   `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"`
	Status            RedisOpsRequestStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"`
}

+kubebuilder:object:root=true +kubebuilder:resource:path=redisopsrequests,singular=redisopsrequest,shortName=rdops,scope=Cluster,categories={datastore,kubedb,appscode} +kubebuilder:subresource:status +kubebuilder:printcolumn:name="Type",type="string",JSONPath=".spec.type" +kubebuilder:printcolumn:name="Status",type="string",JSONPath=".status.phase" +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp"

func (RedisOpsRequest) CustomResourceDefinition

func (_ RedisOpsRequest) CustomResourceDefinition() *apiextensions.CustomResourceDefinition

func (*RedisOpsRequest) DeepCopy

func (in *RedisOpsRequest) DeepCopy() *RedisOpsRequest

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

func (*RedisOpsRequest) DeepCopyInto

func (in *RedisOpsRequest) DeepCopyInto(out *RedisOpsRequest)

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

func (*RedisOpsRequest) DeepCopyObject

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

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

func (*RedisOpsRequest) Descriptor

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

func (*RedisOpsRequest) Marshal

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

func (*RedisOpsRequest) MarshalTo

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

func (*RedisOpsRequest) MarshalToSizedBuffer

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

func (*RedisOpsRequest) ProtoMessage

func (*RedisOpsRequest) ProtoMessage()

func (*RedisOpsRequest) Reset

func (m *RedisOpsRequest) Reset()

func (RedisOpsRequest) ResourceKind

func (r RedisOpsRequest) ResourceKind() string

func (RedisOpsRequest) ResourcePlural

func (r RedisOpsRequest) ResourcePlural() string

func (RedisOpsRequest) ResourceShortCode

func (r RedisOpsRequest) ResourceShortCode() string

func (RedisOpsRequest) ResourceSingular

func (r RedisOpsRequest) ResourceSingular() string

func (*RedisOpsRequest) Size

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

func (*RedisOpsRequest) String

func (this *RedisOpsRequest) String() string

func (*RedisOpsRequest) Unmarshal

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

func (RedisOpsRequest) ValidateSpecs

func (r RedisOpsRequest) ValidateSpecs() error

func (*RedisOpsRequest) XXX_DiscardUnknown

func (m *RedisOpsRequest) XXX_DiscardUnknown()

func (*RedisOpsRequest) XXX_Marshal

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

func (*RedisOpsRequest) XXX_Merge

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

func (*RedisOpsRequest) XXX_Size

func (m *RedisOpsRequest) XXX_Size() int

func (*RedisOpsRequest) XXX_Unmarshal

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

type RedisOpsRequestList

type RedisOpsRequestList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
	// Items is a list of RedisOpsRequest CRD objects
	Items []RedisOpsRequest `json:"items,omitempty" protobuf:"bytes,2,rep,name=items"`
}

RedisOpsRequestList is a list of RedisOpsRequests

func (*RedisOpsRequestList) DeepCopy

func (in *RedisOpsRequestList) DeepCopy() *RedisOpsRequestList

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

func (*RedisOpsRequestList) DeepCopyInto

func (in *RedisOpsRequestList) DeepCopyInto(out *RedisOpsRequestList)

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

func (*RedisOpsRequestList) DeepCopyObject

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

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

func (*RedisOpsRequestList) Descriptor

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

func (*RedisOpsRequestList) Marshal

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

func (*RedisOpsRequestList) MarshalTo

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

func (*RedisOpsRequestList) MarshalToSizedBuffer

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

func (*RedisOpsRequestList) ProtoMessage

func (*RedisOpsRequestList) ProtoMessage()

func (*RedisOpsRequestList) Reset

func (m *RedisOpsRequestList) Reset()

func (*RedisOpsRequestList) Size

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

func (*RedisOpsRequestList) String

func (this *RedisOpsRequestList) String() string

func (*RedisOpsRequestList) Unmarshal

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

func (*RedisOpsRequestList) XXX_DiscardUnknown

func (m *RedisOpsRequestList) XXX_DiscardUnknown()

func (*RedisOpsRequestList) XXX_Marshal

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

func (*RedisOpsRequestList) XXX_Merge

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

func (*RedisOpsRequestList) XXX_Size

func (m *RedisOpsRequestList) XXX_Size() int

func (*RedisOpsRequestList) XXX_Unmarshal

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

type RedisOpsRequestSpec

type RedisOpsRequestSpec struct {
	// Specifies the Elasticsearch reference
	DatabaseRef v1.LocalObjectReference `json:"databaseRef" protobuf:"bytes,1,opt,name=databaseRef"`
	// Specifies the ops request type: Upgrade, HorizontalScaling, VerticalScaling etc.
	Type OpsRequestType `json:"type" protobuf:"bytes,2,opt,name=type,casttype=OpsRequestType"`
	// Specifies the field information that needed to be upgraded
	Upgrade *UpgradeSpec `json:"upgrade,omitempty" protobuf:"bytes,3,opt,name=upgrade"`
}

RedisOpsRequestSpec is the spec for RedisOpsRequest

func (*RedisOpsRequestSpec) DeepCopy

func (in *RedisOpsRequestSpec) DeepCopy() *RedisOpsRequestSpec

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

func (*RedisOpsRequestSpec) DeepCopyInto

func (in *RedisOpsRequestSpec) DeepCopyInto(out *RedisOpsRequestSpec)

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

func (*RedisOpsRequestSpec) Descriptor

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

func (*RedisOpsRequestSpec) Marshal

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

func (*RedisOpsRequestSpec) MarshalTo

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

func (*RedisOpsRequestSpec) MarshalToSizedBuffer

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

func (*RedisOpsRequestSpec) ProtoMessage

func (*RedisOpsRequestSpec) ProtoMessage()

func (*RedisOpsRequestSpec) Reset

func (m *RedisOpsRequestSpec) Reset()

func (*RedisOpsRequestSpec) Size

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

func (*RedisOpsRequestSpec) String

func (this *RedisOpsRequestSpec) String() string

func (*RedisOpsRequestSpec) Unmarshal

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

func (*RedisOpsRequestSpec) XXX_DiscardUnknown

func (m *RedisOpsRequestSpec) XXX_DiscardUnknown()

func (*RedisOpsRequestSpec) XXX_Marshal

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

func (*RedisOpsRequestSpec) XXX_Merge

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

func (*RedisOpsRequestSpec) XXX_Size

func (m *RedisOpsRequestSpec) XXX_Size() int

func (*RedisOpsRequestSpec) XXX_Unmarshal

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

type RedisOpsRequestStatus

type RedisOpsRequestStatus struct {
	Phase OpsRequestPhase `json:"phase,omitempty" protobuf:"bytes,1,opt,name=phase,casttype=OpsRequestPhase"`
	// observedGeneration is the most recent generation observed for this resource. It corresponds to the
	// resource's generation, which is updated on mutation by the API Server.
	// +optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty" protobuf:"varint,2,opt,name=observedGeneration"`
	// Conditions applied to the request, such as approval or denial.
	// +optional
	Conditions []kmapi.Condition `json:"conditions,omitempty" protobuf:"bytes,3,rep,name=conditions"`
}

RedisOpsRequestStatus is the status for RedisOpsRequest

func (*RedisOpsRequestStatus) DeepCopy

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

func (*RedisOpsRequestStatus) DeepCopyInto

func (in *RedisOpsRequestStatus) DeepCopyInto(out *RedisOpsRequestStatus)

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

func (*RedisOpsRequestStatus) Descriptor

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

func (*RedisOpsRequestStatus) Marshal

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

func (*RedisOpsRequestStatus) MarshalTo

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

func (*RedisOpsRequestStatus) MarshalToSizedBuffer

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

func (*RedisOpsRequestStatus) ProtoMessage

func (*RedisOpsRequestStatus) ProtoMessage()

func (*RedisOpsRequestStatus) Reset

func (m *RedisOpsRequestStatus) Reset()

func (*RedisOpsRequestStatus) Size

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

func (*RedisOpsRequestStatus) String

func (this *RedisOpsRequestStatus) String() string

func (*RedisOpsRequestStatus) Unmarshal

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

func (*RedisOpsRequestStatus) XXX_DiscardUnknown

func (m *RedisOpsRequestStatus) XXX_DiscardUnknown()

func (*RedisOpsRequestStatus) XXX_Marshal

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

func (*RedisOpsRequestStatus) XXX_Merge

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

func (*RedisOpsRequestStatus) XXX_Size

func (m *RedisOpsRequestStatus) XXX_Size() int

func (*RedisOpsRequestStatus) XXX_Unmarshal

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

type UpgradeSpec

type UpgradeSpec struct {
	// Specifies the target version name from catalog
	TargetVersion string `json:"targetVersion,omitempty" protobuf:"bytes,1,opt,name=targetVersion"`
}

func (*UpgradeSpec) DeepCopy

func (in *UpgradeSpec) DeepCopy() *UpgradeSpec

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

func (*UpgradeSpec) DeepCopyInto

func (in *UpgradeSpec) DeepCopyInto(out *UpgradeSpec)

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

func (*UpgradeSpec) Descriptor

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

func (*UpgradeSpec) Marshal

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

func (*UpgradeSpec) MarshalTo

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

func (*UpgradeSpec) MarshalToSizedBuffer

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

func (*UpgradeSpec) ProtoMessage

func (*UpgradeSpec) ProtoMessage()

func (*UpgradeSpec) Reset

func (m *UpgradeSpec) Reset()

func (*UpgradeSpec) Size

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

func (*UpgradeSpec) String

func (this *UpgradeSpec) String() string

func (*UpgradeSpec) Unmarshal

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

func (*UpgradeSpec) XXX_DiscardUnknown

func (m *UpgradeSpec) XXX_DiscardUnknown()

func (*UpgradeSpec) XXX_Marshal

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

func (*UpgradeSpec) XXX_Merge

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

func (*UpgradeSpec) XXX_Size

func (m *UpgradeSpec) XXX_Size() int

func (*UpgradeSpec) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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