v1alpha1

package
v0.0.0-...-4b2e221 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	EventTypeNormal  string = "Normal"
	EventTypeWarning string = "Warning"
)

Variables

View Source
var (
	SchemeGroupVersion = schema.GroupVersion{
		Group:   rds.GroupName,
		Version: rds.V1alpha1,
	}
	SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes)
	AddToScheme   = SchemeBuilder.AddToScheme
)

Functions

func Resource

func Resource(resource string) schema.GroupResource

Types

type Rds

type Rds struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata"`
	Spec              RdsSpec   `json:"spec"`
	Status            RdsStatus `json:"status"`
}

func (*Rds) DeepCopy

func (in *Rds) DeepCopy() *Rds

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

func (*Rds) DeepCopyInto

func (in *Rds) DeepCopyInto(out *Rds)

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

func (*Rds) DeepCopyObject

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

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

func (*Rds) HasChanged

func (e *Rds) HasChanged(other *Rds) bool

type RdsList

type RdsList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata"`
	Items           []Rds `json:"items"`
}

+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object

func (*RdsList) DeepCopy

func (in *RdsList) DeepCopy() *RdsList

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

func (*RdsList) DeepCopyInto

func (in *RdsList) DeepCopyInto(out *RdsList)

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

func (*RdsList) DeepCopyObject

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

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

type RdsSpec

type RdsSpec struct {
	Availabilityzone  string   `json:"availabilityzone"`
	Backuprestoretime string   `json:"backuprestoretime"`
	Backupstarttime   string   `json:"backupstarttime"`
	Backupkeepdays    int      `json:"backupkeepdays"`
	Databases         []string `json:"databases"`
	Datastoretype     string   `json:"datastoretype"`
	Datastoreversion  string   `json:"datastoreversion"`
	Endpoint          string   `json:"endpoint"`
	Flavorref         string   `json:"flavorref"`
	Hamode            string   `json:"hamode,omitempty"`
	Hareplicationmode string   `json:"hareplicationmode,omitempty"`
	Port              string   `json:"port"`
	Password          string   `json:"password"`
	Region            string   `json:"region"`
	Subnet            string   `json:"subnet"`
	Securitygroup     string   `json:"securitygroup"`
	Users             *[]Users `json:"users"`
	Volumetype        string   `json:"volumetype"`
	Volumesize        int      `json:"volumesize"`
	Vpc               string   `json:"vpc"`
}

func (*RdsSpec) DeepCopy

func (in *RdsSpec) DeepCopy() *RdsSpec

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

func (*RdsSpec) DeepCopyInto

func (in *RdsSpec) DeepCopyInto(out *RdsSpec)

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

type RdsStatus

type RdsStatus struct {
	Autopilot bool   `json:"autopilot"`
	Id        string `json:"id"`
	Ip        string `json:"ip"`
	Logs      bool   `json:"logs"`
	Reboot    bool   `json:"reboot"`
	Status    string `json:"status"`
}

type Users

type Users struct {
	Name       string   `json:"name"`
	Host       string   `json:"host"`
	Password   string   `json:"password"`
	Privileges []string `json:"privileges,omitempty"`
}

Directories

Path Synopsis
apis
clientset/versioned
This package has the automatically generated clientset.
This package has the automatically generated clientset.
clientset/versioned/fake
This package has the automatically generated fake clientset.
This package has the automatically generated fake clientset.
clientset/versioned/scheme
This package contains the scheme of the automatically generated clientset.
This package contains the scheme of the automatically generated clientset.
clientset/versioned/typed/rds/v1alpha1
This package has the automatically generated typed clients.
This package has the automatically generated typed clients.

Jump to

Keyboard shortcuts

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