Documentation
¶
Index ¶
- Constants
- Variables
- func Kind(kind string) schema.GroupKind
- func Resource(resource string) schema.GroupResource
- type Client
- type Interface
- type ListenConfig
- type ListenConfigController
- type ListenConfigHandlerFunc
- type ListenConfigInterface
- type ListenConfigLifecycle
- type ListenConfigList
- type ListenConfigLister
- type ListenConfigsGetter
Constants ¶
const ( GroupName = "space.cattle.io" Version = "v1beta1" )
Variables ¶
var ( ListenConfigGroupVersionKind = schema.GroupVersionKind{ Version: Version, Group: GroupName, Kind: "ListenConfig", } ListenConfigResource = metav1.APIResource{ Name: "listenconfigs", SingularName: "listenconfig", Namespaced: false, Kind: ListenConfigGroupVersionKind.Kind, } )
var ( SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) AddToScheme = SchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: Version}
SchemeGroupVersion is group version used to register these objects
Functions ¶
func Kind ¶
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 ¶
func (*Client) ListenConfigs ¶
func (c *Client) ListenConfigs(namespace string) ListenConfigInterface
type Interface ¶
type Interface interface {
RESTClient() rest.Interface
controller.Starter
ListenConfigsGetter
}
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
}
Source Files
¶
- types.go
- zz_generated_deepcopy.go
- zz_generated_k8s_client.go
- zz_generated_listen_config_controller.go
- zz_generated_listen_config_lifecycle_adapter.go
- zz_generated_scheme.go