v1

package
v0.0.0-...-b479636 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2017 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes)

	AddToScheme = localSchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: core.GroupName, Version: "v1"}

SchemeGroupVersion is group version used to register these objects

Functions

This section is empty.

Types

type Account

type Account struct {
	v1meta.TypeMeta   `json:",inline"`
	v1meta.ObjectMeta `json:"metadata,omitempty"`
	Spec              AccountSpec   `json:"spec,omitempty"`
	Status            AccountStatus `json:"status,omitempty"`
}

type AccountList

type AccountList struct {
	v1meta.TypeMeta `json:",inline"`
	v1meta.ListMeta `json:"metadata,omitempty"`
	Items           []Account `json:"items"`
}

type AccountPhase

type AccountPhase string
const (
	AccountActive      AccountPhase = "Active"
	AccountTerminating AccountPhase = "Terminating"
	AccountInactive    AccountPhase = "Inactive"
)

type AccountSpec

type AccountSpec struct {
}

type AccountStatus

type AccountStatus struct {
	Phase AccountPhase
}

type User

type User struct {
	v1meta.TypeMeta   `json:",inline"`
	v1meta.ObjectMeta `json:"metadata,omitempty"`
	Spec              UserSpec `json:"spec,omitempty"`
}

TODO (rantuttl): Add other "core" group types below

type UserList

type UserList struct {
	v1meta.TypeMeta `json:",inline"`
	v1meta.ListMeta `json:"metadata,omitempty"`
	Items           []User `json:"items"`
}

type UserSpec

type UserSpec struct {
	// TODO (rantuttl): add additional info as needed about user specifics
	// First/Last name, username, email, password(salt:sha256-hash), account
	FirstName string `json:"firstname,omitempty"`
	LastName  string `json:"lastname,omitempty"`
	Username  string `json:"username"`
}

Jump to

Keyboard shortcuts

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