archon

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2017 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const GroupName = "archon.kubeup.com"

GroupName is the group name use in this package

View Source
const GroupVersion = "v1"

Variables

View Source
var (
	SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes)
	AddToScheme   = SchemeBuilder.AddToScheme
	Scheme        = runtime.NewScheme()
)
View Source
var SchemeGroupVersion = unversioned.GroupVersion{Group: GroupName, Version: GroupVersion}

SchemeGroupVersion is group version used to register these objects

Functions

This section is empty.

Types

type ArchonClient

type ArchonClient struct {
	// contains filtered or unexported fields
}

StorageV1beta1Client is used to interact with features provided by the k8s.io/kubernetes/pkg/apimachinery/registered.Group group.

func New

New creates a new StorageV1beta1Client for the given RESTClient.

func NewForConfig

func NewForConfig(c *restclient.Config) (*ArchonClient, error)

NewForConfig creates a new StorageV1beta1Client for the given config.

func NewForConfigOrDie

func NewForConfigOrDie(c *restclient.Config) *ArchonClient

NewForConfigOrDie creates a new StorageV1beta1Client for the given config and panics if there is an error in the config.

func (*ArchonClient) InstanceGroups

func (c *ArchonClient) InstanceGroups(namespace string) InstanceGroupInterface

func (*ArchonClient) Instances

func (c *ArchonClient) Instances(namespace string) InstanceInterface

func (*ArchonClient) Networks

func (c *ArchonClient) Networks(namespace string) NetworkInterface

func (*ArchonClient) RESTClient

func (c *ArchonClient) RESTClient() restclient.Interface

RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.

func (*ArchonClient) Users

func (c *ArchonClient) Users(namespace string) UserInterface

type InstanceGroupInterface

InstanceGroupInterface has methods to work with InstanceGroup resources.

type InstanceGroupsGetter

type InstanceGroupsGetter interface {
	InstanceGroups(namespace string) InstanceGroupInterface
}

InstanceGroupsGetter has a method to return a InstanceGroupInterface. A group's client should implement this interface.

type InstanceInterface

type InstanceInterface interface {
	Create(*cluster.Instance) (*cluster.Instance, error)
	Update(*cluster.Instance) (*cluster.Instance, error)
	UpdateStatus(*cluster.Instance) (*cluster.Instance, error)
	Delete(name string) error
	Get(name string) (*cluster.Instance, error)
	List(api.ListOptions) (*cluster.InstanceList, error)
	Patch(name string, pt api.PatchType, data []byte, subresources ...string) (result *cluster.Instance, err error)
	Watch(api.ListOptions) (watch.Interface, error)
}

InstanceInterface has methods to work with Instance resources.

type InstancesGetter

type InstancesGetter interface {
	Instances(namespace string) InstanceInterface
}

InstancesGetter has a method to return a InstanceInterface. A group's client should implement this interface.

type NetworkInterface

type NetworkInterface interface {
	Create(*cluster.Network) (*cluster.Network, error)
	Update(*cluster.Network) (*cluster.Network, error)
	Delete(name string) error
	Get(name string) (*cluster.Network, error)
	List() (*cluster.NetworkList, error)
	Watch() (watch.Interface, error)
}

NetworkInterface has methods to work with Network resources.

type NetworksGetter

type NetworksGetter interface {
	Networks(namespace string) NetworkInterface
}

NetworksGetter has a method to return a NetworkInterface. A group's client should implement this interface.

type UserInterface

type UserInterface interface {
	Create(*cluster.User) (*cluster.User, error)
	Update(*cluster.User) (*cluster.User, error)
	Delete(name string) error
	Get(name string) (*cluster.User, error)
	List() (*cluster.UserList, error)
	Watch() (watch.Interface, error)
}

UserInterface has methods to work with User resources.

type UsersGetter

type UsersGetter interface {
	Users(namespace string) UserInterface
}

UsersGetter has a method to return a UserInterface. A group's client should implement this interface.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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