v1

package
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2023 License: BSD-3-Clause Imports: 16 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"
	// Stored holds field path name stored
	Stored = "stored"
)
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"`

	Spec   AppCatSpec   `json:"spec,omitempty"`
	Status AppCatStatus `json:"status,omitempty"`
}

AppCat defines the main object for this API Server

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

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 AppCatSpec added in v0.2.1

type AppCatSpec map[string]string

AppCatSpec defines the desired state of AppCat The desired state of AppCat is dynamically populated from composition's labels

func (AppCatSpec) DeepCopy added in v0.2.1

func (in AppCatSpec) DeepCopy() AppCatSpec

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

func (AppCatSpec) DeepCopyInto added in v0.2.1

func (in AppCatSpec) DeepCopyInto(out *AppCatSpec)

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

type AppCatStatus

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

AppCatStatus defines the observed state of AppCat

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 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 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

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

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

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

Jump to

Keyboard shortcuts

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