Documentation ¶
Overview ¶
Package v1alpha1 is the v1alpha1 version of the API. +groupName=atlasdb.infoblox.com
Index ¶
- Variables
- func Kind(kind string) schema.GroupKind
- func Resource(resource string) schema.GroupResource
- type Database
- type DatabaseList
- type DatabaseSchema
- type DatabaseSchemaList
- type DatabaseSchemaSpec
- type DatabaseSchemaStatus
- type DatabaseServer
- type DatabaseServerList
- type DatabaseServerPlugin
- type DatabaseServerSpec
- type DatabaseServerStatus
- type DatabaseSpec
- type DatabaseStatus
- type DatabaseUser
- type MySQLPlugin
- type PostgresPlugin
- type RDSPlugin
- type ValueSource
Constants ¶
This section is empty.
Variables ¶
var ( SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) AddToScheme = SchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: db.GroupName, Version: "v1alpha1"}
SchemeGroupVersion is group version used to register these objects
Functions ¶
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type Database ¶
type Database struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec DatabaseSpec `json:"spec"` Status DatabaseStatus `json:"status"` }
Database is a specification for a Database resource
func (*Database) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Database.
func (*Database) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Database) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type DatabaseList ¶
type DatabaseList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []Database `json:"items"` }
DatabaseList is a list of Database resources
func (*DatabaseList) DeepCopy ¶
func (in *DatabaseList) DeepCopy() *DatabaseList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatabaseList.
func (*DatabaseList) DeepCopyInto ¶
func (in *DatabaseList) DeepCopyInto(out *DatabaseList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DatabaseList) DeepCopyObject ¶
func (in *DatabaseList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type DatabaseSchema ¶
type DatabaseSchema struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec DatabaseSchemaSpec `json:"spec"` Status DatabaseSchemaStatus `json:"status"` }
DatabaseSchema is a specification for a DatabaseSchema resource
func (*DatabaseSchema) DeepCopy ¶
func (in *DatabaseSchema) DeepCopy() *DatabaseSchema
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatabaseSchema.
func (*DatabaseSchema) DeepCopyInto ¶
func (in *DatabaseSchema) DeepCopyInto(out *DatabaseSchema)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DatabaseSchema) DeepCopyObject ¶
func (in *DatabaseSchema) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type DatabaseSchemaList ¶
type DatabaseSchemaList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []DatabaseSchema `json:"items"` }
DatabaseSchemaList is a list of DatabaseSchema resources
func (*DatabaseSchemaList) DeepCopy ¶
func (in *DatabaseSchemaList) DeepCopy() *DatabaseSchemaList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatabaseSchemaList.
func (*DatabaseSchemaList) DeepCopyInto ¶
func (in *DatabaseSchemaList) DeepCopyInto(out *DatabaseSchemaList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DatabaseSchemaList) DeepCopyObject ¶
func (in *DatabaseSchemaList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type DatabaseSchemaSpec ¶
type DatabaseSchemaSpec struct { Database string `json:"database"` Dsn string `json:"dsn"` DsnFrom *ValueSource `json:"dsnFrom"` Source string `json:"source"` SourceFrom *ValueSource `json:"sourceFrom"` Version int `json:"version"` // version of database schema }
DatabaseSchemaSpec is the spec for a DatabaseSchema resource
func (*DatabaseSchemaSpec) DeepCopy ¶
func (in *DatabaseSchemaSpec) DeepCopy() *DatabaseSchemaSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatabaseSchemaSpec.
func (*DatabaseSchemaSpec) DeepCopyInto ¶
func (in *DatabaseSchemaSpec) DeepCopyInto(out *DatabaseSchemaSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DatabaseSchemaStatus ¶
DatabaseSchemaStatus is the status for a DatabaseSchema resource
func (*DatabaseSchemaStatus) DeepCopy ¶
func (in *DatabaseSchemaStatus) DeepCopy() *DatabaseSchemaStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatabaseSchemaStatus.
func (*DatabaseSchemaStatus) DeepCopyInto ¶
func (in *DatabaseSchemaStatus) DeepCopyInto(out *DatabaseSchemaStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DatabaseServer ¶
type DatabaseServer struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec DatabaseServerSpec `json:"spec"` Status DatabaseServerStatus `json:"status"` }
DatabaseServer is a specification for a DatabaseServer resource
func (*DatabaseServer) DeepCopy ¶
func (in *DatabaseServer) DeepCopy() *DatabaseServer
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatabaseServer.
func (*DatabaseServer) DeepCopyInto ¶
func (in *DatabaseServer) DeepCopyInto(out *DatabaseServer)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DatabaseServer) DeepCopyObject ¶
func (in *DatabaseServer) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type DatabaseServerList ¶
type DatabaseServerList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata"` Items []DatabaseServer `json:"items"` }
DatabaseServerList is a list of DatabaseServer resources
func (*DatabaseServerList) DeepCopy ¶
func (in *DatabaseServerList) DeepCopy() *DatabaseServerList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatabaseServerList.
func (*DatabaseServerList) DeepCopyInto ¶
func (in *DatabaseServerList) DeepCopyInto(out *DatabaseServerList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DatabaseServerList) DeepCopyObject ¶
func (in *DatabaseServerList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type DatabaseServerPlugin ¶
type DatabaseServerPlugin struct { RDS *RDSPlugin `json:"rds"` MySQL *MySQLPlugin `json:"mySQL"` Postgres *PostgresPlugin `json:"postgres"` }
DatabaseServerPlugin represents the type and method used to provision a database server. Only one of its members may be set.
func (*DatabaseServerPlugin) DeepCopy ¶
func (in *DatabaseServerPlugin) DeepCopy() *DatabaseServerPlugin
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatabaseServerPlugin.
func (*DatabaseServerPlugin) DeepCopyInto ¶
func (in *DatabaseServerPlugin) DeepCopyInto(out *DatabaseServerPlugin)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DatabaseServerSpec ¶
type DatabaseServerSpec struct { DatabaseServerPlugin Volumes []corev1.Volume `json:"volumes"` SuperUser string `json:"superUser"` SuperUserFrom *ValueSource `json:"superUserFrom"` SuperUserPassword string `json:"superUserPassword"` SuperUserPasswordFrom *ValueSource `json:"superUserPasswordFrom"` DBHost string `json:"dbHost"` ServicePort int32 `json:"servicePort"` }
DatabaseServerSpec is the spec for a DatabaseServer resource
func (*DatabaseServerSpec) DeepCopy ¶
func (in *DatabaseServerSpec) DeepCopy() *DatabaseServerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatabaseServerSpec.
func (*DatabaseServerSpec) DeepCopyInto ¶
func (in *DatabaseServerSpec) DeepCopyInto(out *DatabaseServerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DatabaseServerStatus ¶
DatabaseServerStatus is the status for a DatabaseServer resource
func (*DatabaseServerStatus) DeepCopy ¶
func (in *DatabaseServerStatus) DeepCopy() *DatabaseServerStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatabaseServerStatus.
func (*DatabaseServerStatus) DeepCopyInto ¶
func (in *DatabaseServerStatus) DeepCopyInto(out *DatabaseServerStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DatabaseSpec ¶
type DatabaseSpec struct { Users []DatabaseUser `json:"users"` Dsn string `json:"dsn"` DsnFrom *ValueSource `json:"dsnFrom"` Server string `json:"server"` ServerType string `json:"serverType"` }
DatabaseSpec is the spec for a Database resource
func (*DatabaseSpec) DeepCopy ¶
func (in *DatabaseSpec) DeepCopy() *DatabaseSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatabaseSpec.
func (*DatabaseSpec) DeepCopyInto ¶
func (in *DatabaseSpec) DeepCopyInto(out *DatabaseSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DatabaseStatus ¶
DatabaseStatus is the status for a Database resource
func (*DatabaseStatus) DeepCopy ¶
func (in *DatabaseStatus) DeepCopy() *DatabaseStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatabaseStatus.
func (*DatabaseStatus) DeepCopyInto ¶
func (in *DatabaseStatus) DeepCopyInto(out *DatabaseStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DatabaseUser ¶
type DatabaseUser struct { Name string `json:"name"` Password string `json:"password"` PasswordFrom *ValueSource `json:"passwordFrom"` Role string `json:"role"` }
DatabaseUser represents a user to provision
func (*DatabaseUser) DeepCopy ¶
func (in *DatabaseUser) DeepCopy() *DatabaseUser
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DatabaseUser.
func (*DatabaseUser) DeepCopyInto ¶
func (in *DatabaseUser) DeepCopyInto(out *DatabaseUser)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MySQLPlugin ¶
type MySQLPlugin struct { Image string `json:"image"` Version string `json:"version"` DataVolume string `json:"dataVolume"` ConfigVolume string `json:"configVolume"` }
MySQLPlugin contains the details needed to provision a MySQL instance.
func (*MySQLPlugin) DeepCopy ¶
func (in *MySQLPlugin) DeepCopy() *MySQLPlugin
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MySQLPlugin.
func (*MySQLPlugin) DeepCopyInto ¶
func (in *MySQLPlugin) DeepCopyInto(out *MySQLPlugin)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PostgresPlugin ¶
type PostgresPlugin struct { Image string `json:"image"` Version string `json:"version"` DataVolume string `json:"dataVolume"` InitdbArgs string `json:"initdbArgs"` }
PostgresPlugin contains the details needed to provision a Postgres instance.
func (*PostgresPlugin) DeepCopy ¶
func (in *PostgresPlugin) DeepCopy() *PostgresPlugin
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PostgresPlugin.
func (*PostgresPlugin) DeepCopyInto ¶
func (in *PostgresPlugin) DeepCopyInto(out *PostgresPlugin)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RDSPlugin ¶
type RDSPlugin struct { /* TODO Currently not supporting RDS instance provisioning AllocatedStorage int32 `json:"allocatedStorage"` Iops int32 `json:"iops"` DBInstanceClass string `json:"dbInstanceClass"` DBInstanceIdentifier string `json:"dbInstanceIdentifier"` DBSubnetGroupName string `json:"dbSubnetGroupName"` */ Engine string `json:"engine"` }
RDSPlugin contains the details needed to provision an RDS instance.
func (*RDSPlugin) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RDSPlugin.
func (*RDSPlugin) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ValueSource ¶
type ValueSource struct { // Selects a key of a ConfigMap. // +optional ConfigMapKeyRef *corev1.ConfigMapKeySelector // Selects a key of a secret in the pod's namespace. // +optional SecretKeyRef *corev1.SecretKeySelector }
func (*ValueSource) DeepCopy ¶
func (in *ValueSource) DeepCopy() *ValueSource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ValueSource.
func (*ValueSource) DeepCopyInto ¶
func (in *ValueSource) DeepCopyInto(out *ValueSource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ValueSource) Resolve ¶
func (v *ValueSource) Resolve(c kubernetes.Interface, ns string) (string, error)
func (*ValueSource) ToEnvVarSource ¶
func (v *ValueSource) ToEnvVarSource() *corev1.EnvVarSource