v1

package
v4.85.0 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2024 License: BSD-3-Clause Imports: 17 Imported by: 0

Documentation

Overview

Package v1 contains API Schema definitions for the appcat-server v1 API group +kubebuilder:object:generate=true +kubebuilder:skip +groupName=api.appcat.vshn.io

Index

Constants

This section is empty.

Variables

View Source
var (
	// OfferedValue is the label value to identify AppCat services
	OfferedValue = "true"

	// PrefixAppCatKey is the label and annotation prefix for AppCat services in compositions.
	PrefixAppCatKey = "metadata.appcat.vshn.io"

	// OfferedKey is the label key to identify AppCat services
	OfferedKey = PrefixAppCatKey + "/offered"
)
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 (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "api.appcat.vshn.io", Version: "v1"}

	SchemeBuilder runtime.SchemeBuilder

	AddToScheme = localSchemeBuilder.AddToScheme
)
View Source
var (
	// ResourceBackup is the name of this backup resource in plural form
	ResourceBackup = "vshnpostgresbackups"

	// Metadata holds field path name metadata
	Metadata = "metadata"
	// Status holds field path name status
	Status = "status"
	// Process holds field path name process
	Process = "process"
	// BackupInformation holds field path name backupInformation
	BackupInformation = "backupInformation"
	// Timing holds field path name timing
	Timing = "timing"
	// End holds field path name end
	End = "end"
	// Start holds field path name start
	Start = "start"
)
View Source
var Resource = "appcats"

Resource is the name of this resource in plural form

Functions

func GetGroupResource

func GetGroupResource(resource string) schema.GroupResource

Types

type AppCat

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

	Details `json:"details,omitempty"`
	Plans   map[string]VSHNPlan `json:"plans,omitempty"`
	Status  AppCatStatus        `json:"status,omitempty"`
}

AppCat defines the main object for this API Server +k8s:openapi-gen=true

func NewAppCatFromComposition

func NewAppCatFromComposition(comp *v1.Composition) *AppCat

NewAppCatFromComposition returns an AppCat based on the given composition If the composition does not satisfy one of its rules, the func will return nil

func (*AppCat) DeepCopy

func (in *AppCat) DeepCopy() *AppCat

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

func (*AppCat) DeepCopyInto

func (in *AppCat) DeepCopyInto(out *AppCat)

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

func (*AppCat) DeepCopyObject

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

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

func (*AppCat) Descriptor

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

func (*AppCat) GetGroupVersionResource

func (in *AppCat) GetGroupVersionResource() schema.GroupVersionResource

GetGroupVersionResource returns the GroupVersionResource for this resource. The resource should be the all lowercase and pluralized kind

func (*AppCat) GetObjectMeta

func (in *AppCat) GetObjectMeta() *metav1.ObjectMeta

func (*AppCat) IsStorageVersion

func (in *AppCat) IsStorageVersion() bool

IsStorageVersion returns true if the object is also the internal version -- i.e. is the type defined for the API group or an alias to this object. If false, the resource is expected to implement MultiVersionObject interface.

func (*AppCat) Marshal

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

func (*AppCat) MarshalTo

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

func (*AppCat) MarshalToSizedBuffer

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

func (*AppCat) NamespaceScoped

func (in *AppCat) NamespaceScoped() bool

func (*AppCat) New

func (in *AppCat) New() runtime.Object

func (*AppCat) NewList

func (in *AppCat) NewList() runtime.Object

func (*AppCat) ProtoMessage

func (*AppCat) ProtoMessage()

func (*AppCat) Reset

func (m *AppCat) Reset()

func (*AppCat) Size

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

func (*AppCat) String

func (this *AppCat) String() string

func (*AppCat) Unmarshal

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

func (*AppCat) XXX_DiscardUnknown

func (m *AppCat) XXX_DiscardUnknown()

func (*AppCat) XXX_Marshal

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

func (*AppCat) XXX_Merge

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

func (*AppCat) XXX_Size

func (m *AppCat) XXX_Size() int

func (*AppCat) XXX_Unmarshal

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

type AppCatList

type AppCatList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`

	Items []AppCat `json:"items"`
}

AppCatList defines a list of AppCat +k8s:openapi-gen=true

func (*AppCatList) DeepCopy

func (in *AppCatList) DeepCopy() *AppCatList

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

func (*AppCatList) DeepCopyInto

func (in *AppCatList) DeepCopyInto(out *AppCatList)

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

func (*AppCatList) DeepCopyObject

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

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

func (*AppCatList) Descriptor

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

func (*AppCatList) GetListMeta

func (in *AppCatList) GetListMeta() *metav1.ListMeta

func (*AppCatList) Marshal

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

func (*AppCatList) MarshalTo

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

func (*AppCatList) MarshalToSizedBuffer

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

func (*AppCatList) ProtoMessage

func (*AppCatList) ProtoMessage()

func (*AppCatList) Reset

func (m *AppCatList) Reset()

func (*AppCatList) Size

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

func (*AppCatList) String

func (this *AppCatList) String() string

func (*AppCatList) Unmarshal

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

func (*AppCatList) XXX_DiscardUnknown

func (m *AppCatList) XXX_DiscardUnknown()

func (*AppCatList) XXX_Marshal

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

func (*AppCatList) XXX_Merge

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

func (*AppCatList) XXX_Size

func (m *AppCatList) XXX_Size() int

func (*AppCatList) XXX_Unmarshal

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

type AppCatStatus

type AppCatStatus struct {
	// CompositionName is the name of the composition
	CompositionName string `json:"compositionName,omitempty"`
}

AppCatStatus defines the observed state of AppCat +k8s:openapi-gen=true

func (*AppCatStatus) DeepCopy

func (in *AppCatStatus) DeepCopy() *AppCatStatus

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

func (*AppCatStatus) DeepCopyInto

func (in *AppCatStatus) DeepCopyInto(out *AppCatStatus)

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

func (*AppCatStatus) Descriptor

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

func (*AppCatStatus) Marshal

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

func (*AppCatStatus) MarshalTo

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

func (*AppCatStatus) MarshalToSizedBuffer

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

func (*AppCatStatus) ProtoMessage

func (*AppCatStatus) ProtoMessage()

func (*AppCatStatus) Reset

func (m *AppCatStatus) Reset()

func (*AppCatStatus) Size

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

func (*AppCatStatus) String

func (this *AppCatStatus) String() string

func (*AppCatStatus) Unmarshal

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

func (*AppCatStatus) XXX_DiscardUnknown

func (m *AppCatStatus) XXX_DiscardUnknown()

func (*AppCatStatus) XXX_Marshal

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

func (*AppCatStatus) XXX_Merge

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

func (*AppCatStatus) XXX_Size

func (m *AppCatStatus) XXX_Size() int

func (*AppCatStatus) XXX_Unmarshal

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

type Details

type Details map[string]string

Details are fields that are dynamically parsed from the annotations on a composition.

func (Details) DeepCopy

func (in Details) DeepCopy() Details

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

func (Details) DeepCopyInto

func (in Details) DeepCopyInto(out *Details)

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

type SGBackupInfo

type SGBackupInfo struct {
	metav1.ObjectMeta
	Process           runtime.RawExtension
	BackupInformation runtime.RawExtension
}

SGBackupInfo holds necessary data for VSHNPostgresBackup

func (*SGBackupInfo) DeepCopy

func (in *SGBackupInfo) DeepCopy() *SGBackupInfo

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

func (*SGBackupInfo) DeepCopyInto

func (in *SGBackupInfo) DeepCopyInto(out *SGBackupInfo)

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

func (*SGBackupInfo) Descriptor

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

func (*SGBackupInfo) Marshal

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

func (*SGBackupInfo) MarshalTo

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

func (*SGBackupInfo) MarshalToSizedBuffer

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

func (*SGBackupInfo) ProtoMessage

func (*SGBackupInfo) ProtoMessage()

func (*SGBackupInfo) Reset

func (m *SGBackupInfo) Reset()

func (*SGBackupInfo) Size

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

func (*SGBackupInfo) String

func (this *SGBackupInfo) String() string

func (*SGBackupInfo) Unmarshal

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

func (*SGBackupInfo) XXX_DiscardUnknown

func (m *SGBackupInfo) XXX_DiscardUnknown()

func (*SGBackupInfo) XXX_Marshal

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

func (*SGBackupInfo) XXX_Merge

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

func (*SGBackupInfo) XXX_Size

func (m *SGBackupInfo) XXX_Size() int

func (*SGBackupInfo) XXX_Unmarshal

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

type VSHNMariaDBBackup

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

	Status VSHNMariaDBBackupStatus `json:"status,omitempty"`
}

+kubebuilder:object:root=true +k8s:openapi-gen=true

func (*VSHNMariaDBBackup) DeepCopy

func (in *VSHNMariaDBBackup) DeepCopy() *VSHNMariaDBBackup

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

func (*VSHNMariaDBBackup) DeepCopyInto

func (in *VSHNMariaDBBackup) DeepCopyInto(out *VSHNMariaDBBackup)

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

func (*VSHNMariaDBBackup) DeepCopyObject

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

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

func (*VSHNMariaDBBackup) Descriptor

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

func (*VSHNMariaDBBackup) GetGroupVersionResource

func (in *VSHNMariaDBBackup) GetGroupVersionResource() schema.GroupVersionResource

GetGroupVersionResource returns the GroupVersionResource for this resource. The resource should be the all lowercase and pluralized kind

func (*VSHNMariaDBBackup) GetObjectMeta

func (in *VSHNMariaDBBackup) GetObjectMeta() *metav1.ObjectMeta

func (*VSHNMariaDBBackup) IsStorageVersion

func (in *VSHNMariaDBBackup) IsStorageVersion() bool

IsStorageVersion returns true if the object is also the internal version -- i.e. is the type defined for the API group or an alias to this object. If false, the resource is expected to implement MultiVersionObject interface.

func (*VSHNMariaDBBackup) Marshal

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

func (*VSHNMariaDBBackup) MarshalTo

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

func (*VSHNMariaDBBackup) MarshalToSizedBuffer

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

func (*VSHNMariaDBBackup) NamespaceScoped

func (in *VSHNMariaDBBackup) NamespaceScoped() bool

func (*VSHNMariaDBBackup) New

func (in *VSHNMariaDBBackup) New() runtime.Object

func (*VSHNMariaDBBackup) NewList

func (in *VSHNMariaDBBackup) NewList() runtime.Object

func (*VSHNMariaDBBackup) ProtoMessage

func (*VSHNMariaDBBackup) ProtoMessage()

func (*VSHNMariaDBBackup) Reset

func (m *VSHNMariaDBBackup) Reset()

func (*VSHNMariaDBBackup) Size

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

func (*VSHNMariaDBBackup) String

func (this *VSHNMariaDBBackup) String() string

func (*VSHNMariaDBBackup) Unmarshal

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

func (*VSHNMariaDBBackup) XXX_DiscardUnknown

func (m *VSHNMariaDBBackup) XXX_DiscardUnknown()

func (*VSHNMariaDBBackup) XXX_Marshal

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

func (*VSHNMariaDBBackup) XXX_Merge

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

func (*VSHNMariaDBBackup) XXX_Size

func (m *VSHNMariaDBBackup) XXX_Size() int

func (*VSHNMariaDBBackup) XXX_Unmarshal

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

type VSHNMariaDBBackupList

type VSHNMariaDBBackupList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`

	Items []VSHNMariaDBBackup `json:"items,omitempty"`
}

+kubebuilder:object:root=true +k8s:openapi-gen=true

func (*VSHNMariaDBBackupList) DeepCopy

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

func (*VSHNMariaDBBackupList) DeepCopyInto

func (in *VSHNMariaDBBackupList) DeepCopyInto(out *VSHNMariaDBBackupList)

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

func (*VSHNMariaDBBackupList) DeepCopyObject

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

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

func (*VSHNMariaDBBackupList) Descriptor

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

func (*VSHNMariaDBBackupList) GetListMeta

func (in *VSHNMariaDBBackupList) GetListMeta() *metav1.ListMeta

func (*VSHNMariaDBBackupList) Marshal

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

func (*VSHNMariaDBBackupList) MarshalTo

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

func (*VSHNMariaDBBackupList) MarshalToSizedBuffer

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

func (*VSHNMariaDBBackupList) ProtoMessage

func (*VSHNMariaDBBackupList) ProtoMessage()

func (*VSHNMariaDBBackupList) Reset

func (m *VSHNMariaDBBackupList) Reset()

func (*VSHNMariaDBBackupList) Size

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

func (*VSHNMariaDBBackupList) String

func (this *VSHNMariaDBBackupList) String() string

func (*VSHNMariaDBBackupList) Unmarshal

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

func (*VSHNMariaDBBackupList) XXX_DiscardUnknown

func (m *VSHNMariaDBBackupList) XXX_DiscardUnknown()

func (*VSHNMariaDBBackupList) XXX_Marshal

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

func (*VSHNMariaDBBackupList) XXX_Merge

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

func (*VSHNMariaDBBackupList) XXX_Size

func (m *VSHNMariaDBBackupList) XXX_Size() int

func (*VSHNMariaDBBackupList) XXX_Unmarshal

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

type VSHNMariaDBBackupStatus

type VSHNMariaDBBackupStatus struct {
	ID       string      `json:"id,omitempty"`
	Date     metav1.Time `json:"date,omitempty"`
	Instance string      `json:"instance,omitempty"`
}

+k8s:openapi-gen=true

func (*VSHNMariaDBBackupStatus) DeepCopy

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

func (*VSHNMariaDBBackupStatus) DeepCopyInto

func (in *VSHNMariaDBBackupStatus) DeepCopyInto(out *VSHNMariaDBBackupStatus)

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

func (*VSHNMariaDBBackupStatus) Descriptor

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

func (*VSHNMariaDBBackupStatus) Marshal

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

func (*VSHNMariaDBBackupStatus) MarshalTo

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

func (*VSHNMariaDBBackupStatus) MarshalToSizedBuffer

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

func (*VSHNMariaDBBackupStatus) ProtoMessage

func (*VSHNMariaDBBackupStatus) ProtoMessage()

func (*VSHNMariaDBBackupStatus) Reset

func (m *VSHNMariaDBBackupStatus) Reset()

func (*VSHNMariaDBBackupStatus) Size

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

func (*VSHNMariaDBBackupStatus) String

func (this *VSHNMariaDBBackupStatus) String() string

func (*VSHNMariaDBBackupStatus) Unmarshal

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

func (*VSHNMariaDBBackupStatus) XXX_DiscardUnknown

func (m *VSHNMariaDBBackupStatus) XXX_DiscardUnknown()

func (*VSHNMariaDBBackupStatus) XXX_Marshal

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

func (*VSHNMariaDBBackupStatus) XXX_Merge

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

func (*VSHNMariaDBBackupStatus) XXX_Size

func (m *VSHNMariaDBBackupStatus) XXX_Size() int

func (*VSHNMariaDBBackupStatus) XXX_Unmarshal

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

type VSHNPlan

type VSHNPlan struct {
	Note string `json:"note,omitempty"`
	// JSize is called JSize because protobuf creates a method Size()
	JSize VSHNSize `json:"size,omitempty"`
}

VSHNPlan represents a plan for a VSHN service. It ignores the scheduling labels and other internal fields. +k8s:openapi-gen=true

func (*VSHNPlan) DeepCopy

func (in *VSHNPlan) DeepCopy() *VSHNPlan

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

func (*VSHNPlan) DeepCopyInto

func (in *VSHNPlan) DeepCopyInto(out *VSHNPlan)

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

func (*VSHNPlan) Descriptor

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

func (*VSHNPlan) Marshal

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

func (*VSHNPlan) MarshalTo

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

func (*VSHNPlan) MarshalToSizedBuffer

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

func (*VSHNPlan) ProtoMessage

func (*VSHNPlan) ProtoMessage()

func (*VSHNPlan) Reset

func (m *VSHNPlan) Reset()

func (*VSHNPlan) Size

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

func (*VSHNPlan) String

func (this *VSHNPlan) String() string

func (*VSHNPlan) Unmarshal

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

func (*VSHNPlan) XXX_DiscardUnknown

func (m *VSHNPlan) XXX_DiscardUnknown()

func (*VSHNPlan) XXX_Marshal

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

func (*VSHNPlan) XXX_Merge

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

func (*VSHNPlan) XXX_Size

func (m *VSHNPlan) XXX_Size() int

func (*VSHNPlan) XXX_Unmarshal

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

type VSHNPostgreSQLName

type VSHNPostgreSQLName string

VSHNPostgreSQLName represents the name of a VSHNPostgreSQL

type VSHNPostgreSQLNamespace

type VSHNPostgreSQLNamespace string

VSHNPostgreSQLNamespace represents the namespace of a VSHNPostgreSQL

type VSHNPostgresBackup

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

	// Status holds the backup specific metadata.
	Status VSHNPostgresBackupStatus `json:"status,omitempty"`
}

VSHNPostgresBackup defines VSHN managed PostgreSQL backups +k8s:openapi-gen=true

func New

func New() *VSHNPostgresBackup

func NewVSHNPostgresBackup

func NewVSHNPostgresBackup(backup *SGBackupInfo, db, originalNamespace string) *VSHNPostgresBackup

NewVSHNPostgresBackup creates a new VSHNPostgresBackup out of a SGBackupInfo and a database instance

func (*VSHNPostgresBackup) DeepCopy

func (in *VSHNPostgresBackup) DeepCopy() *VSHNPostgresBackup

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

func (*VSHNPostgresBackup) DeepCopyInto

func (in *VSHNPostgresBackup) DeepCopyInto(out *VSHNPostgresBackup)

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

func (*VSHNPostgresBackup) DeepCopyObject

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

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

func (*VSHNPostgresBackup) Descriptor

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

func (*VSHNPostgresBackup) GetGroupVersionResource

func (in *VSHNPostgresBackup) GetGroupVersionResource() schema.GroupVersionResource

GetGroupVersionResource returns the GroupVersionResource for this resource. The resource should be the all lowercase and pluralized kind

func (*VSHNPostgresBackup) GetObjectMeta

func (in *VSHNPostgresBackup) GetObjectMeta() *metav1.ObjectMeta

func (*VSHNPostgresBackup) IsStorageVersion

func (in *VSHNPostgresBackup) IsStorageVersion() bool

IsStorageVersion returns true if the object is also the internal version -- i.e. is the type defined for the API group or an alias to this object. If false, the resource is expected to implement MultiVersionObject interface.

func (*VSHNPostgresBackup) Marshal

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

func (*VSHNPostgresBackup) MarshalTo

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

func (*VSHNPostgresBackup) MarshalToSizedBuffer

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

func (*VSHNPostgresBackup) NamespaceScoped

func (in *VSHNPostgresBackup) NamespaceScoped() bool

func (*VSHNPostgresBackup) New

func (in *VSHNPostgresBackup) New() runtime.Object

func (*VSHNPostgresBackup) NewList

func (in *VSHNPostgresBackup) NewList() runtime.Object

func (*VSHNPostgresBackup) ProtoMessage

func (*VSHNPostgresBackup) ProtoMessage()

func (*VSHNPostgresBackup) Reset

func (m *VSHNPostgresBackup) Reset()

func (*VSHNPostgresBackup) Size

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

func (*VSHNPostgresBackup) String

func (this *VSHNPostgresBackup) String() string

func (*VSHNPostgresBackup) Unmarshal

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

func (*VSHNPostgresBackup) XXX_DiscardUnknown

func (m *VSHNPostgresBackup) XXX_DiscardUnknown()

func (*VSHNPostgresBackup) XXX_Marshal

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

func (*VSHNPostgresBackup) XXX_Merge

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

func (*VSHNPostgresBackup) XXX_Size

func (m *VSHNPostgresBackup) XXX_Size() int

func (*VSHNPostgresBackup) XXX_Unmarshal

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

type VSHNPostgresBackupList

type VSHNPostgresBackupList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`

	Items []VSHNPostgresBackup `json:"items"`
}

VSHNPostgresBackupList defines a list of VSHNPostgresBackup +k8s:openapi-gen=true

func (*VSHNPostgresBackupList) DeepCopy

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

func (*VSHNPostgresBackupList) DeepCopyInto

func (in *VSHNPostgresBackupList) DeepCopyInto(out *VSHNPostgresBackupList)

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

func (*VSHNPostgresBackupList) DeepCopyObject

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

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

func (*VSHNPostgresBackupList) Descriptor

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

func (*VSHNPostgresBackupList) GetListMeta

func (in *VSHNPostgresBackupList) GetListMeta() *metav1.ListMeta

func (*VSHNPostgresBackupList) Marshal

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

func (*VSHNPostgresBackupList) MarshalTo

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

func (*VSHNPostgresBackupList) MarshalToSizedBuffer

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

func (*VSHNPostgresBackupList) ProtoMessage

func (*VSHNPostgresBackupList) ProtoMessage()

func (*VSHNPostgresBackupList) Reset

func (m *VSHNPostgresBackupList) Reset()

func (*VSHNPostgresBackupList) Size

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

func (*VSHNPostgresBackupList) String

func (this *VSHNPostgresBackupList) String() string

func (*VSHNPostgresBackupList) Unmarshal

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

func (*VSHNPostgresBackupList) XXX_DiscardUnknown

func (m *VSHNPostgresBackupList) XXX_DiscardUnknown()

func (*VSHNPostgresBackupList) XXX_Marshal

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

func (*VSHNPostgresBackupList) XXX_Merge

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

func (*VSHNPostgresBackupList) XXX_Size

func (m *VSHNPostgresBackupList) XXX_Size() int

func (*VSHNPostgresBackupList) XXX_Unmarshal

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

type VSHNPostgresBackupStatus

type VSHNPostgresBackupStatus struct {
	// Process holds status information of the backup process
	Process *runtime.RawExtension `json:"process,omitempty"`
	// BackupInformation holds specific backup information
	BackupInformation *runtime.RawExtension `json:"backupInformation,omitempty"`
	// DatabaseInstance is the database from which the backup has been done
	DatabaseInstance string `json:"databaseInstance"`
}

VSHNPostgresBackupStatus defines the desired state of VSHNPostgresBackup +k8s:openapi-gen=true

func (*VSHNPostgresBackupStatus) DeepCopy

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

func (*VSHNPostgresBackupStatus) DeepCopyInto

func (in *VSHNPostgresBackupStatus) DeepCopyInto(out *VSHNPostgresBackupStatus)

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

func (*VSHNPostgresBackupStatus) Descriptor

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

func (*VSHNPostgresBackupStatus) Marshal

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

func (*VSHNPostgresBackupStatus) MarshalTo

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

func (*VSHNPostgresBackupStatus) MarshalToSizedBuffer

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

func (*VSHNPostgresBackupStatus) ProtoMessage

func (*VSHNPostgresBackupStatus) ProtoMessage()

func (*VSHNPostgresBackupStatus) Reset

func (m *VSHNPostgresBackupStatus) Reset()

func (*VSHNPostgresBackupStatus) Size

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

func (*VSHNPostgresBackupStatus) String

func (this *VSHNPostgresBackupStatus) String() string

func (*VSHNPostgresBackupStatus) Unmarshal

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

func (*VSHNPostgresBackupStatus) XXX_DiscardUnknown

func (m *VSHNPostgresBackupStatus) XXX_DiscardUnknown()

func (*VSHNPostgresBackupStatus) XXX_Marshal

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

func (*VSHNPostgresBackupStatus) XXX_Merge

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

func (*VSHNPostgresBackupStatus) XXX_Size

func (m *VSHNPostgresBackupStatus) XXX_Size() int

func (*VSHNPostgresBackupStatus) XXX_Unmarshal

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

type VSHNRedisBackup

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

	Status VSHNRedisBackupStatus `json:"status,omitempty"`
}

+kubebuilder:object:root=true +k8s:openapi-gen=true

func (*VSHNRedisBackup) DeepCopy

func (in *VSHNRedisBackup) DeepCopy() *VSHNRedisBackup

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

func (*VSHNRedisBackup) DeepCopyInto

func (in *VSHNRedisBackup) DeepCopyInto(out *VSHNRedisBackup)

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

func (*VSHNRedisBackup) DeepCopyObject

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

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

func (*VSHNRedisBackup) Descriptor

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

func (*VSHNRedisBackup) GetGroupVersionResource

func (in *VSHNRedisBackup) GetGroupVersionResource() schema.GroupVersionResource

GetGroupVersionResource returns the GroupVersionResource for this resource. The resource should be the all lowercase and pluralized kind

func (*VSHNRedisBackup) GetObjectMeta

func (in *VSHNRedisBackup) GetObjectMeta() *metav1.ObjectMeta

func (*VSHNRedisBackup) IsStorageVersion

func (in *VSHNRedisBackup) IsStorageVersion() bool

IsStorageVersion returns true if the object is also the internal version -- i.e. is the type defined for the API group or an alias to this object. If false, the resource is expected to implement MultiVersionObject interface.

func (*VSHNRedisBackup) Marshal

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

func (*VSHNRedisBackup) MarshalTo

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

func (*VSHNRedisBackup) MarshalToSizedBuffer

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

func (*VSHNRedisBackup) NamespaceScoped

func (in *VSHNRedisBackup) NamespaceScoped() bool

func (*VSHNRedisBackup) New

func (in *VSHNRedisBackup) New() runtime.Object

func (*VSHNRedisBackup) NewList

func (in *VSHNRedisBackup) NewList() runtime.Object

func (*VSHNRedisBackup) ProtoMessage

func (*VSHNRedisBackup) ProtoMessage()

func (*VSHNRedisBackup) Reset

func (m *VSHNRedisBackup) Reset()

func (*VSHNRedisBackup) Size

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

func (*VSHNRedisBackup) String

func (this *VSHNRedisBackup) String() string

func (*VSHNRedisBackup) Unmarshal

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

func (*VSHNRedisBackup) XXX_DiscardUnknown

func (m *VSHNRedisBackup) XXX_DiscardUnknown()

func (*VSHNRedisBackup) XXX_Marshal

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

func (*VSHNRedisBackup) XXX_Merge

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

func (*VSHNRedisBackup) XXX_Size

func (m *VSHNRedisBackup) XXX_Size() int

func (*VSHNRedisBackup) XXX_Unmarshal

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

type VSHNRedisBackupList

type VSHNRedisBackupList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`

	Items []VSHNRedisBackup `json:"items,omitempty"`
}

+kubebuilder:object:root=true +k8s:openapi-gen=true

func (*VSHNRedisBackupList) DeepCopy

func (in *VSHNRedisBackupList) DeepCopy() *VSHNRedisBackupList

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

func (*VSHNRedisBackupList) DeepCopyInto

func (in *VSHNRedisBackupList) DeepCopyInto(out *VSHNRedisBackupList)

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

func (*VSHNRedisBackupList) DeepCopyObject

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

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

func (*VSHNRedisBackupList) Descriptor

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

func (*VSHNRedisBackupList) GetListMeta

func (in *VSHNRedisBackupList) GetListMeta() *metav1.ListMeta

func (*VSHNRedisBackupList) Marshal

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

func (*VSHNRedisBackupList) MarshalTo

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

func (*VSHNRedisBackupList) MarshalToSizedBuffer

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

func (*VSHNRedisBackupList) ProtoMessage

func (*VSHNRedisBackupList) ProtoMessage()

func (*VSHNRedisBackupList) Reset

func (m *VSHNRedisBackupList) Reset()

func (*VSHNRedisBackupList) Size

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

func (*VSHNRedisBackupList) String

func (this *VSHNRedisBackupList) String() string

func (*VSHNRedisBackupList) Unmarshal

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

func (*VSHNRedisBackupList) XXX_DiscardUnknown

func (m *VSHNRedisBackupList) XXX_DiscardUnknown()

func (*VSHNRedisBackupList) XXX_Marshal

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

func (*VSHNRedisBackupList) XXX_Merge

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

func (*VSHNRedisBackupList) XXX_Size

func (m *VSHNRedisBackupList) XXX_Size() int

func (*VSHNRedisBackupList) XXX_Unmarshal

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

type VSHNRedisBackupStatus

type VSHNRedisBackupStatus struct {
	ID       string      `json:"id,omitempty"`
	Date     metav1.Time `json:"date,omitempty"`
	Instance string      `json:"instance,omitempty"`
}

+k8s:openapi-gen=true

func (*VSHNRedisBackupStatus) DeepCopy

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

func (*VSHNRedisBackupStatus) DeepCopyInto

func (in *VSHNRedisBackupStatus) DeepCopyInto(out *VSHNRedisBackupStatus)

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

func (*VSHNRedisBackupStatus) Descriptor

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

func (*VSHNRedisBackupStatus) Marshal

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

func (*VSHNRedisBackupStatus) MarshalTo

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

func (*VSHNRedisBackupStatus) MarshalToSizedBuffer

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

func (*VSHNRedisBackupStatus) ProtoMessage

func (*VSHNRedisBackupStatus) ProtoMessage()

func (*VSHNRedisBackupStatus) Reset

func (m *VSHNRedisBackupStatus) Reset()

func (*VSHNRedisBackupStatus) Size

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

func (*VSHNRedisBackupStatus) String

func (this *VSHNRedisBackupStatus) String() string

func (*VSHNRedisBackupStatus) Unmarshal

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

func (*VSHNRedisBackupStatus) XXX_DiscardUnknown

func (m *VSHNRedisBackupStatus) XXX_DiscardUnknown()

func (*VSHNRedisBackupStatus) XXX_Marshal

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

func (*VSHNRedisBackupStatus) XXX_Merge

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

func (*VSHNRedisBackupStatus) XXX_Size

func (m *VSHNRedisBackupStatus) XXX_Size() int

func (*VSHNRedisBackupStatus) XXX_Unmarshal

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

type VSHNSize

type VSHNSize struct {
	CPU    string `json:"cpu,omitempty"`
	Disk   string `json:"disk,omitempty"`
	Memory string `json:"memory,omitempty"`
}

VSHNSize describes the aspects of the actual plan. This needs to be a separate struct as the protobuf generator can't handle embedded struct apparently. +k8s:openapi-gen=true

func (*VSHNSize) DeepCopy

func (in *VSHNSize) DeepCopy() *VSHNSize

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

func (*VSHNSize) DeepCopyInto

func (in *VSHNSize) DeepCopyInto(out *VSHNSize)

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

func (*VSHNSize) Descriptor

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

func (*VSHNSize) Marshal

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

func (*VSHNSize) MarshalTo

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

func (*VSHNSize) MarshalToSizedBuffer

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

func (*VSHNSize) ProtoMessage

func (*VSHNSize) ProtoMessage()

func (*VSHNSize) Reset

func (m *VSHNSize) Reset()

func (*VSHNSize) Size

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

func (*VSHNSize) String

func (this *VSHNSize) String() string

func (*VSHNSize) Unmarshal

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

func (*VSHNSize) XXX_DiscardUnknown

func (m *VSHNSize) XXX_DiscardUnknown()

func (*VSHNSize) XXX_Marshal

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

func (*VSHNSize) XXX_Merge

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

func (*VSHNSize) XXX_Size

func (m *VSHNSize) XXX_Size() int

func (*VSHNSize) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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