v1alpha1

package
v0.0.0-...-cc4f0fa Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2019 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package v1alpha1 is the v1alpha1 version of the API. +groupName=postgresdb.myob.com

Index

Constants

This section is empty.

Variables

View Source
var (
	// SchemeGroupVersion is group version used to register the objects
	SchemeGroupVersion = schema.GroupVersion{Group: postgresdb.GroupName, Version: "v1alpha1"}
	// SchemeBuilder is something
	SchemeBuilder runtime.SchemeBuilder

	// AddToScheme is another something
	AddToScheme = localSchemeBuilder.AddToScheme
)

Functions

func Kind

func Kind(kind string) schema.GroupKind

Kind takes an unqualified kind and returns back a Group qualified GroupKind

func Resource

func Resource(resource string) schema.GroupResource

Resource tajes an unqualified resource and resturns a Group qualified GroupResource

Types

type PostgresDB

type PostgresDB struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              PostgresDBSpec   `json:"spec"`
	Status            PostgresDBStatus `json:"status"`
}

PostgresDB is a specification for a DB resource

func (*PostgresDB) DeepCopy

func (in *PostgresDB) DeepCopy() *PostgresDB

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

func (*PostgresDB) DeepCopyInto

func (in *PostgresDB) DeepCopyInto(out *PostgresDB)

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

func (*PostgresDB) DeepCopyObject

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

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

type PostgresDBList

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

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

+k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +resource:path=postgresdbs PostgresDBList is a list of DB resources

func (*PostgresDBList) DeepCopy

func (in *PostgresDBList) DeepCopy() *PostgresDBList

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

func (*PostgresDBList) DeepCopyInto

func (in *PostgresDBList) DeepCopyInto(out *PostgresDBList)

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

func (*PostgresDBList) DeepCopyObject

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

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

type PostgresDBSpec

type PostgresDBSpec struct {
	Size    string            `json:"size,omitempty"`
	Storage string            `json:"storage,omitempty"`
	Iops    int64             `json:"iops,omitempty"`
	HA      bool              `json:"ha,omitempty"`
	Tags    map[string]string `json:"tags,omitempty"`
}

PostgresDBSpec is the spec for a DB resource

func (*PostgresDBSpec) DeepCopy

func (in *PostgresDBSpec) DeepCopy() *PostgresDBSpec

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

func (*PostgresDBSpec) DeepCopyInto

func (in *PostgresDBSpec) DeepCopyInto(out *PostgresDBSpec)

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

type PostgresDBStatus

type PostgresDBStatus struct {
	Ready string `json:"ready"`
	ARN   string `json:"arn"`
	ID    string `json:"id"`
}

PostgresDBStatus is the status for a DB resource

func (*PostgresDBStatus) DeepCopy

func (in *PostgresDBStatus) DeepCopy() *PostgresDBStatus

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

func (*PostgresDBStatus) DeepCopyInto

func (in *PostgresDBStatus) DeepCopyInto(out *PostgresDBStatus)

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

Jump to

Keyboard shortcuts

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