v1beta1

package
v0.0.3-rc2 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2018 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const (
	GroupName = "space.cattle.io"
	Version   = "v1beta1"
)

Variables

View Source
var (
	ListenConfigGroupVersionKind = schema.GroupVersionKind{
		Version: Version,
		Group:   GroupName,
		Kind:    "ListenConfig",
	}
	ListenConfigResource = metav1.APIResource{
		Name:         "listenconfigs",
		SingularName: "listenconfig",
		Namespaced:   false,
		Kind:         ListenConfigGroupVersionKind.Kind,
	}
)
View Source
var (
	SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes)
	AddToScheme   = SchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: Version}

SchemeGroupVersion is group version used to register these objects

Functions

func Kind

func Kind(kind string) schema.GroupKind

Kind takes an unqualified kind and returns a Group qualified GroupKind

func Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource

Types

type Client

type Client struct {
	sync.Mutex
	// contains filtered or unexported fields
}

func (*Client) ListenConfigs

func (c *Client) ListenConfigs(namespace string) ListenConfigInterface

func (*Client) RESTClient

func (c *Client) RESTClient() rest.Interface

func (*Client) Start

func (c *Client) Start(ctx context.Context, threadiness int) error

func (*Client) Sync

func (c *Client) Sync(ctx context.Context) error

type Interface

type Interface interface {
	RESTClient() rest.Interface
	controller.Starter

	ListenConfigsGetter
}

func NewForConfig

func NewForConfig(config rest.Config) (Interface, error)

type ListenConfig

type ListenConfig struct {
	v3.ListenConfig
}

func (*ListenConfig) DeepCopy

func (in *ListenConfig) DeepCopy() *ListenConfig

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

func (*ListenConfig) DeepCopyInto

func (in *ListenConfig) DeepCopyInto(out *ListenConfig)

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

func (*ListenConfig) DeepCopyObject

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

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

type ListenConfigController

type ListenConfigController interface {
	Informer() cache.SharedIndexInformer
	Lister() ListenConfigLister
	AddHandler(name string, handler ListenConfigHandlerFunc)
	AddClusterScopedHandler(name, clusterName string, handler ListenConfigHandlerFunc)
	Enqueue(namespace, name string)
	Sync(ctx context.Context) error
	Start(ctx context.Context, threadiness int) error
}

type ListenConfigHandlerFunc

type ListenConfigHandlerFunc func(key string, obj *ListenConfig) error

func NewListenConfigLifecycleAdapter

func NewListenConfigLifecycleAdapter(name string, clusterScoped bool, client ListenConfigInterface, l ListenConfigLifecycle) ListenConfigHandlerFunc

type ListenConfigInterface

type ListenConfigInterface interface {
	ObjectClient() *objectclient.ObjectClient
	Create(*ListenConfig) (*ListenConfig, error)
	GetNamespaced(namespace, name string, opts metav1.GetOptions) (*ListenConfig, error)
	Get(name string, opts metav1.GetOptions) (*ListenConfig, error)
	Update(*ListenConfig) (*ListenConfig, error)
	Delete(name string, options *metav1.DeleteOptions) error
	DeleteNamespaced(namespace, name string, options *metav1.DeleteOptions) error
	List(opts metav1.ListOptions) (*ListenConfigList, error)
	Watch(opts metav1.ListOptions) (watch.Interface, error)
	DeleteCollection(deleteOpts *metav1.DeleteOptions, listOpts metav1.ListOptions) error
	Controller() ListenConfigController
	AddHandler(name string, sync ListenConfigHandlerFunc)
	AddLifecycle(name string, lifecycle ListenConfigLifecycle)
	AddClusterScopedHandler(name, clusterName string, sync ListenConfigHandlerFunc)
	AddClusterScopedLifecycle(name, clusterName string, lifecycle ListenConfigLifecycle)
}

type ListenConfigLifecycle

type ListenConfigLifecycle interface {
	Create(obj *ListenConfig) (*ListenConfig, error)
	Remove(obj *ListenConfig) (*ListenConfig, error)
	Updated(obj *ListenConfig) (*ListenConfig, error)
}

type ListenConfigList

type ListenConfigList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []ListenConfig
}

func (*ListenConfigList) DeepCopy

func (in *ListenConfigList) DeepCopy() *ListenConfigList

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

func (*ListenConfigList) DeepCopyInto

func (in *ListenConfigList) DeepCopyInto(out *ListenConfigList)

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

func (*ListenConfigList) DeepCopyObject

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

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

type ListenConfigLister

type ListenConfigLister interface {
	List(namespace string, selector labels.Selector) (ret []*ListenConfig, err error)
	Get(namespace, name string) (*ListenConfig, error)
}

type ListenConfigsGetter

type ListenConfigsGetter interface {
	ListenConfigs(namespace string) ListenConfigInterface
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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