Documentation
¶
Index ¶
- Constants
- Variables
- type ArchonClient
- func (c *ArchonClient) InstanceGroups(namespace string) InstanceGroupInterface
- func (c *ArchonClient) Instances(namespace string) InstanceInterface
- func (c *ArchonClient) Networks(namespace string) NetworkInterface
- func (c *ArchonClient) RESTClient() restclient.Interface
- func (c *ArchonClient) Users(namespace string) UserInterface
- type ArchonInterface
- type InstanceGroupInterface
- type InstanceGroupsGetter
- type InstanceInterface
- type InstancesGetter
- type NetworkInterface
- type NetworksGetter
- type UserInterface
- type UsersGetter
Constants ¶
const GroupName = "archon.kubeup.com"
GroupName is the group name use in this package
const GroupVersion = "v1"
Variables ¶
var ( SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) AddToScheme = SchemeBuilder.AddToScheme Scheme = runtime.NewScheme() )
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 ¶
func New(c restclient.Interface) *ArchonClient
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 ArchonInterface ¶
type ArchonInterface interface { RESTClient() restclient.Interface InstancesGetter InstanceGroupsGetter NetworksGetter UsersGetter }
type InstanceGroupInterface ¶
type InstanceGroupInterface interface { Create(*cluster.InstanceGroup) (*cluster.InstanceGroup, error) Update(*cluster.InstanceGroup) (*cluster.InstanceGroup, error) UpdateStatus(*cluster.InstanceGroup) (*cluster.InstanceGroup, error) Delete(name string) error Get(name string) (*cluster.InstanceGroup, error) List(api.ListOptions) (*cluster.InstanceGroupList, error) Watch(api.ListOptions) (watch.Interface, error) }
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.