Documentation ¶
Index ¶
- Constants
- Variables
- func Kind(kind string) schema.GroupKind
- func NewComponentStatus(namespace, name string, obj v1.ComponentStatus) *v1.ComponentStatus
- func NewConfigMap(namespace, name string, obj v1.ConfigMap) *v1.ConfigMap
- func NewEndpoints(namespace, name string, obj v1.Endpoints) *v1.Endpoints
- func NewEvent(namespace, name string, obj v1.Event) *v1.Event
- func NewLimitRange(namespace, name string, obj v1.LimitRange) *v1.LimitRange
- func NewNamespace(namespace, name string, obj v1.Namespace) *v1.Namespace
- func NewNode(namespace, name string, obj v1.Node) *v1.Node
- func NewPersistentVolumeClaim(namespace, name string, obj v1.PersistentVolumeClaim) *v1.PersistentVolumeClaim
- func NewPod(namespace, name string, obj v1.Pod) *v1.Pod
- func NewReplicationController(namespace, name string, obj v1.ReplicationController) *v1.ReplicationController
- func NewResourceQuota(namespace, name string, obj v1.ResourceQuota) *v1.ResourceQuota
- func NewSecret(namespace, name string, obj v1.Secret) *v1.Secret
- func NewService(namespace, name string, obj v1.Service) *v1.Service
- func NewServiceAccount(namespace, name string, obj v1.ServiceAccount) *v1.ServiceAccount
- func Resource(resource string) schema.GroupResource
- type Client
- func (c *Client) ComponentStatuses(namespace string) ComponentStatusInterface
- func (c *Client) ConfigMaps(namespace string) ConfigMapInterface
- func (c *Client) Endpoints(namespace string) EndpointsInterface
- func (c *Client) Events(namespace string) EventInterface
- func (c *Client) LimitRanges(namespace string) LimitRangeInterface
- func (c *Client) Namespaces(namespace string) NamespaceInterface
- func (c *Client) Nodes(namespace string) NodeInterface
- func (c *Client) PersistentVolumeClaims(namespace string) PersistentVolumeClaimInterface
- func (c *Client) Pods(namespace string) PodInterface
- func (c *Client) RESTClient() rest.Interface
- func (c *Client) ReplicationControllers(namespace string) ReplicationControllerInterface
- func (c *Client) ResourceQuotas(namespace string) ResourceQuotaInterface
- func (c *Client) Secrets(namespace string) SecretInterface
- func (c *Client) ServiceAccounts(namespace string) ServiceAccountInterface
- func (c *Client) Services(namespace string) ServiceInterface
- func (c *Client) Start(ctx context.Context, threadiness int) error
- func (c *Client) Sync(ctx context.Context) error
- type ComponentStatusChangeHandlerFunc
- type ComponentStatusController
- type ComponentStatusHandlerFunc
- type ComponentStatusInterface
- type ComponentStatusLifecycle
- type ComponentStatusList
- type ComponentStatusLister
- type ComponentStatusesGetter
- type ConfigMapChangeHandlerFunc
- type ConfigMapController
- type ConfigMapHandlerFunc
- type ConfigMapInterface
- type ConfigMapLifecycle
- type ConfigMapList
- type ConfigMapLister
- type ConfigMapsGetter
- type EndpointsChangeHandlerFunc
- type EndpointsController
- type EndpointsGetter
- type EndpointsHandlerFunc
- type EndpointsInterface
- type EndpointsLifecycle
- type EndpointsList
- type EndpointsLister
- type EventChangeHandlerFunc
- type EventController
- type EventHandlerFunc
- type EventInterface
- type EventLifecycle
- type EventList
- type EventLister
- type EventsGetter
- type Interface
- type LimitRangeChangeHandlerFunc
- type LimitRangeController
- type LimitRangeHandlerFunc
- type LimitRangeInterface
- type LimitRangeLifecycle
- type LimitRangeList
- type LimitRangeLister
- type LimitRangesGetter
- type NamespaceChangeHandlerFunc
- type NamespaceController
- type NamespaceHandlerFunc
- type NamespaceInterface
- type NamespaceLifecycle
- type NamespaceList
- type NamespaceLister
- type NamespacesGetter
- type NodeChangeHandlerFunc
- type NodeController
- type NodeHandlerFunc
- type NodeInterface
- type NodeLifecycle
- type NodeList
- type NodeLister
- type NodesGetter
- type PersistentVolumeClaimChangeHandlerFunc
- type PersistentVolumeClaimController
- type PersistentVolumeClaimHandlerFunc
- type PersistentVolumeClaimInterface
- type PersistentVolumeClaimLifecycle
- type PersistentVolumeClaimList
- type PersistentVolumeClaimLister
- type PersistentVolumeClaimsGetter
- type PodChangeHandlerFunc
- type PodController
- type PodHandlerFunc
- type PodInterface
- type PodLifecycle
- type PodList
- type PodLister
- type PodsGetter
- type ReplicationControllerChangeHandlerFunc
- type ReplicationControllerController
- type ReplicationControllerHandlerFunc
- type ReplicationControllerInterface
- type ReplicationControllerLifecycle
- type ReplicationControllerList
- type ReplicationControllerLister
- type ReplicationControllersGetter
- type ResourceQuotaChangeHandlerFunc
- type ResourceQuotaController
- type ResourceQuotaHandlerFunc
- type ResourceQuotaInterface
- type ResourceQuotaLifecycle
- type ResourceQuotaList
- type ResourceQuotaLister
- type ResourceQuotasGetter
- type SecretChangeHandlerFunc
- type SecretController
- type SecretHandlerFunc
- type SecretInterface
- type SecretLifecycle
- type SecretList
- type SecretLister
- type SecretsGetter
- type ServiceAccountChangeHandlerFunc
- type ServiceAccountController
- type ServiceAccountHandlerFunc
- type ServiceAccountInterface
- type ServiceAccountLifecycle
- type ServiceAccountList
- type ServiceAccountLister
- type ServiceAccountsGetter
- type ServiceChangeHandlerFunc
- type ServiceController
- type ServiceHandlerFunc
- type ServiceInterface
- type ServiceLifecycle
- type ServiceList
- type ServiceLister
- type ServicesGetter
Constants ¶
const ( GroupName = "" Version = "v1" )
Variables ¶
var ( ComponentStatusGroupVersionKind = schema.GroupVersionKind{ Version: Version, Group: GroupName, Kind: "ComponentStatus", } ComponentStatusResource = metav1.APIResource{ Name: "componentstatuses", SingularName: "componentstatus", Namespaced: false, Kind: ComponentStatusGroupVersionKind.Kind, } ComponentStatusGroupVersionResource = schema.GroupVersionResource{ Group: GroupName, Version: Version, Resource: "componentstatuses", } )
var ( ConfigMapGroupVersionKind = schema.GroupVersionKind{ Version: Version, Group: GroupName, Kind: "ConfigMap", } ConfigMapResource = metav1.APIResource{ Name: "configmaps", SingularName: "configmap", Namespaced: true, Kind: ConfigMapGroupVersionKind.Kind, } ConfigMapGroupVersionResource = schema.GroupVersionResource{ Group: GroupName, Version: Version, Resource: "configmaps", } )
var ( EndpointsGroupVersionKind = schema.GroupVersionKind{ Version: Version, Group: GroupName, Kind: "Endpoints", } EndpointsResource = metav1.APIResource{ Name: "endpoints", SingularName: "endpoints", Namespaced: true, Kind: EndpointsGroupVersionKind.Kind, } EndpointsGroupVersionResource = schema.GroupVersionResource{ Group: GroupName, Version: Version, Resource: "endpoints", } )
var ( EventGroupVersionKind = schema.GroupVersionKind{ Version: Version, Group: GroupName, Kind: "Event", } EventResource = metav1.APIResource{ Name: "events", SingularName: "event", Namespaced: false, Kind: EventGroupVersionKind.Kind, } EventGroupVersionResource = schema.GroupVersionResource{ Group: GroupName, Version: Version, Resource: "events", } )
var ( LimitRangeGroupVersionKind = schema.GroupVersionKind{ Version: Version, Group: GroupName, Kind: "LimitRange", } LimitRangeResource = metav1.APIResource{ Name: "limitranges", SingularName: "limitrange", Namespaced: true, Kind: LimitRangeGroupVersionKind.Kind, } LimitRangeGroupVersionResource = schema.GroupVersionResource{ Group: GroupName, Version: Version, Resource: "limitranges", } )
var ( NamespaceGroupVersionKind = schema.GroupVersionKind{ Version: Version, Group: GroupName, Kind: "Namespace", } NamespaceResource = metav1.APIResource{ Name: "namespaces", SingularName: "namespace", Namespaced: false, Kind: NamespaceGroupVersionKind.Kind, } NamespaceGroupVersionResource = schema.GroupVersionResource{ Group: GroupName, Version: Version, Resource: "namespaces", } )
var ( NodeGroupVersionKind = schema.GroupVersionKind{ Version: Version, Group: GroupName, Kind: "Node", } NodeResource = metav1.APIResource{ Name: "nodes", SingularName: "node", Namespaced: false, Kind: NodeGroupVersionKind.Kind, } NodeGroupVersionResource = schema.GroupVersionResource{ Group: GroupName, Version: Version, Resource: "nodes", } )
var ( PersistentVolumeClaimGroupVersionKind = schema.GroupVersionKind{ Version: Version, Group: GroupName, Kind: "PersistentVolumeClaim", } PersistentVolumeClaimResource = metav1.APIResource{ Name: "persistentvolumeclaims", SingularName: "persistentvolumeclaim", Namespaced: true, Kind: PersistentVolumeClaimGroupVersionKind.Kind, } PersistentVolumeClaimGroupVersionResource = schema.GroupVersionResource{ Group: GroupName, Version: Version, Resource: "persistentvolumeclaims", } )
var ( PodGroupVersionKind = schema.GroupVersionKind{ Version: Version, Group: GroupName, Kind: "Pod", } PodResource = metav1.APIResource{ Name: "pods", SingularName: "pod", Namespaced: true, Kind: PodGroupVersionKind.Kind, } PodGroupVersionResource = schema.GroupVersionResource{ Group: GroupName, Version: Version, Resource: "pods", } )
var ( ReplicationControllerGroupVersionKind = schema.GroupVersionKind{ Version: Version, Group: GroupName, Kind: "ReplicationController", } ReplicationControllerResource = metav1.APIResource{ Name: "replicationcontrollers", SingularName: "replicationcontroller", Namespaced: true, Kind: ReplicationControllerGroupVersionKind.Kind, } ReplicationControllerGroupVersionResource = schema.GroupVersionResource{ Group: GroupName, Version: Version, Resource: "replicationcontrollers", } )
var ( ResourceQuotaGroupVersionKind = schema.GroupVersionKind{ Version: Version, Group: GroupName, Kind: "ResourceQuota", } ResourceQuotaResource = metav1.APIResource{ Name: "resourcequotas", SingularName: "resourcequota", Namespaced: true, Kind: ResourceQuotaGroupVersionKind.Kind, } ResourceQuotaGroupVersionResource = schema.GroupVersionResource{ Group: GroupName, Version: Version, Resource: "resourcequotas", } )
var ( SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) AddToScheme = SchemeBuilder.AddToScheme )
var ( SecretGroupVersionKind = schema.GroupVersionKind{ Version: Version, Group: GroupName, Kind: "Secret", } SecretResource = metav1.APIResource{ Name: "secrets", SingularName: "secret", Namespaced: true, Kind: SecretGroupVersionKind.Kind, } SecretGroupVersionResource = schema.GroupVersionResource{ Group: GroupName, Version: Version, Resource: "secrets", } )
var ( ServiceAccountGroupVersionKind = schema.GroupVersionKind{ Version: Version, Group: GroupName, Kind: "ServiceAccount", } ServiceAccountResource = metav1.APIResource{ Name: "serviceaccounts", SingularName: "serviceaccount", Namespaced: true, Kind: ServiceAccountGroupVersionKind.Kind, } ServiceAccountGroupVersionResource = schema.GroupVersionResource{ Group: GroupName, Version: Version, Resource: "serviceaccounts", } )
var ( ServiceGroupVersionKind = schema.GroupVersionKind{ Version: Version, Group: GroupName, Kind: "Service", } ServiceResource = metav1.APIResource{ Name: "services", SingularName: "service", Namespaced: true, Kind: ServiceGroupVersionKind.Kind, } ServiceGroupVersionResource = schema.GroupVersionResource{ Group: GroupName, Version: Version, Resource: "services", } )
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: Version}
SchemeGroupVersion is group version used to register these objects
Functions ¶
func NewComponentStatus ¶
func NewComponentStatus(namespace, name string, obj v1.ComponentStatus) *v1.ComponentStatus
func NewLimitRange ¶
func NewLimitRange(namespace, name string, obj v1.LimitRange) *v1.LimitRange
func NewPersistentVolumeClaim ¶
func NewPersistentVolumeClaim(namespace, name string, obj v1.PersistentVolumeClaim) *v1.PersistentVolumeClaim
func NewReplicationController ¶
func NewReplicationController(namespace, name string, obj v1.ReplicationController) *v1.ReplicationController
func NewResourceQuota ¶
func NewResourceQuota(namespace, name string, obj v1.ResourceQuota) *v1.ResourceQuota
func NewServiceAccount ¶
func NewServiceAccount(namespace, name string, obj v1.ServiceAccount) *v1.ServiceAccount
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type Client ¶
func (*Client) ComponentStatuses ¶
func (c *Client) ComponentStatuses(namespace string) ComponentStatusInterface
func (*Client) ConfigMaps ¶
func (c *Client) ConfigMaps(namespace string) ConfigMapInterface
func (*Client) Endpoints ¶
func (c *Client) Endpoints(namespace string) EndpointsInterface
func (*Client) Events ¶
func (c *Client) Events(namespace string) EventInterface
func (*Client) LimitRanges ¶
func (c *Client) LimitRanges(namespace string) LimitRangeInterface
func (*Client) Namespaces ¶
func (c *Client) Namespaces(namespace string) NamespaceInterface
func (*Client) Nodes ¶
func (c *Client) Nodes(namespace string) NodeInterface
func (*Client) PersistentVolumeClaims ¶
func (c *Client) PersistentVolumeClaims(namespace string) PersistentVolumeClaimInterface
func (*Client) Pods ¶
func (c *Client) Pods(namespace string) PodInterface
func (*Client) RESTClient ¶
func (*Client) ReplicationControllers ¶
func (c *Client) ReplicationControllers(namespace string) ReplicationControllerInterface
func (*Client) ResourceQuotas ¶
func (c *Client) ResourceQuotas(namespace string) ResourceQuotaInterface
func (*Client) Secrets ¶
func (c *Client) Secrets(namespace string) SecretInterface
func (*Client) ServiceAccounts ¶
func (c *Client) ServiceAccounts(namespace string) ServiceAccountInterface
func (*Client) Services ¶
func (c *Client) Services(namespace string) ServiceInterface
type ComponentStatusChangeHandlerFunc ¶
type ComponentStatusChangeHandlerFunc func(obj *v1.ComponentStatus) (runtime.Object, error)
type ComponentStatusController ¶
type ComponentStatusController interface { Generic() controller.GenericController Informer() cache.SharedIndexInformer Lister() ComponentStatusLister AddHandler(ctx context.Context, name string, handler ComponentStatusHandlerFunc) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync ComponentStatusHandlerFunc) AddClusterScopedHandler(ctx context.Context, name, clusterName string, handler ComponentStatusHandlerFunc) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name, clusterName string, handler ComponentStatusHandlerFunc) Enqueue(namespace, name string) EnqueueAfter(namespace, name string, after time.Duration) Sync(ctx context.Context) error Start(ctx context.Context, threadiness int) error }
type ComponentStatusHandlerFunc ¶
func NewComponentStatusLifecycleAdapter ¶
func NewComponentStatusLifecycleAdapter(name string, clusterScoped bool, client ComponentStatusInterface, l ComponentStatusLifecycle) ComponentStatusHandlerFunc
type ComponentStatusInterface ¶
type ComponentStatusInterface interface { ObjectClient() *objectclient.ObjectClient Create(*v1.ComponentStatus) (*v1.ComponentStatus, error) GetNamespaced(namespace, name string, opts metav1.GetOptions) (*v1.ComponentStatus, error) Get(name string, opts metav1.GetOptions) (*v1.ComponentStatus, error) Update(*v1.ComponentStatus) (*v1.ComponentStatus, error) Delete(name string, options *metav1.DeleteOptions) error DeleteNamespaced(namespace, name string, options *metav1.DeleteOptions) error List(opts metav1.ListOptions) (*ComponentStatusList, error) ListNamespaced(namespace string, opts metav1.ListOptions) (*ComponentStatusList, error) Watch(opts metav1.ListOptions) (watch.Interface, error) DeleteCollection(deleteOpts *metav1.DeleteOptions, listOpts metav1.ListOptions) error Controller() ComponentStatusController AddHandler(ctx context.Context, name string, sync ComponentStatusHandlerFunc) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync ComponentStatusHandlerFunc) AddLifecycle(ctx context.Context, name string, lifecycle ComponentStatusLifecycle) AddFeatureLifecycle(ctx context.Context, enabled func() bool, name string, lifecycle ComponentStatusLifecycle) AddClusterScopedHandler(ctx context.Context, name, clusterName string, sync ComponentStatusHandlerFunc) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name, clusterName string, sync ComponentStatusHandlerFunc) AddClusterScopedLifecycle(ctx context.Context, name, clusterName string, lifecycle ComponentStatusLifecycle) AddClusterScopedFeatureLifecycle(ctx context.Context, enabled func() bool, name, clusterName string, lifecycle ComponentStatusLifecycle) }
type ComponentStatusLifecycle ¶
type ComponentStatusLifecycle interface { Create(obj *v1.ComponentStatus) (runtime.Object, error) Remove(obj *v1.ComponentStatus) (runtime.Object, error) Updated(obj *v1.ComponentStatus) (runtime.Object, error) }
type ComponentStatusList ¶
type ComponentStatusList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []v1.ComponentStatus `json:"items"` }
func (*ComponentStatusList) DeepCopy ¶
func (in *ComponentStatusList) DeepCopy() *ComponentStatusList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ComponentStatusList.
func (*ComponentStatusList) DeepCopyInto ¶
func (in *ComponentStatusList) DeepCopyInto(out *ComponentStatusList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ComponentStatusList) DeepCopyObject ¶
func (in *ComponentStatusList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ComponentStatusLister ¶
type ComponentStatusLister interface { List(namespace string, selector labels.Selector) (ret []*v1.ComponentStatus, err error) Get(namespace, name string) (*v1.ComponentStatus, error) }
type ComponentStatusesGetter ¶
type ComponentStatusesGetter interface {
ComponentStatuses(namespace string) ComponentStatusInterface
}
type ConfigMapController ¶
type ConfigMapController interface { Generic() controller.GenericController Informer() cache.SharedIndexInformer Lister() ConfigMapLister AddHandler(ctx context.Context, name string, handler ConfigMapHandlerFunc) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync ConfigMapHandlerFunc) AddClusterScopedHandler(ctx context.Context, name, clusterName string, handler ConfigMapHandlerFunc) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name, clusterName string, handler ConfigMapHandlerFunc) Enqueue(namespace, name string) EnqueueAfter(namespace, name string, after time.Duration) Sync(ctx context.Context) error Start(ctx context.Context, threadiness int) error }
type ConfigMapHandlerFunc ¶
func NewConfigMapLifecycleAdapter ¶
func NewConfigMapLifecycleAdapter(name string, clusterScoped bool, client ConfigMapInterface, l ConfigMapLifecycle) ConfigMapHandlerFunc
type ConfigMapInterface ¶
type ConfigMapInterface interface { ObjectClient() *objectclient.ObjectClient Create(*v1.ConfigMap) (*v1.ConfigMap, error) GetNamespaced(namespace, name string, opts metav1.GetOptions) (*v1.ConfigMap, error) Get(name string, opts metav1.GetOptions) (*v1.ConfigMap, error) Update(*v1.ConfigMap) (*v1.ConfigMap, error) Delete(name string, options *metav1.DeleteOptions) error DeleteNamespaced(namespace, name string, options *metav1.DeleteOptions) error List(opts metav1.ListOptions) (*ConfigMapList, error) ListNamespaced(namespace string, opts metav1.ListOptions) (*ConfigMapList, error) Watch(opts metav1.ListOptions) (watch.Interface, error) DeleteCollection(deleteOpts *metav1.DeleteOptions, listOpts metav1.ListOptions) error Controller() ConfigMapController AddHandler(ctx context.Context, name string, sync ConfigMapHandlerFunc) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync ConfigMapHandlerFunc) AddLifecycle(ctx context.Context, name string, lifecycle ConfigMapLifecycle) AddFeatureLifecycle(ctx context.Context, enabled func() bool, name string, lifecycle ConfigMapLifecycle) AddClusterScopedHandler(ctx context.Context, name, clusterName string, sync ConfigMapHandlerFunc) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name, clusterName string, sync ConfigMapHandlerFunc) AddClusterScopedLifecycle(ctx context.Context, name, clusterName string, lifecycle ConfigMapLifecycle) AddClusterScopedFeatureLifecycle(ctx context.Context, enabled func() bool, name, clusterName string, lifecycle ConfigMapLifecycle) }
type ConfigMapLifecycle ¶
type ConfigMapList ¶
type ConfigMapList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []v1.ConfigMap `json:"items"` }
func (*ConfigMapList) DeepCopy ¶
func (in *ConfigMapList) DeepCopy() *ConfigMapList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigMapList.
func (*ConfigMapList) DeepCopyInto ¶
func (in *ConfigMapList) DeepCopyInto(out *ConfigMapList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ConfigMapList) DeepCopyObject ¶
func (in *ConfigMapList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ConfigMapLister ¶
type ConfigMapsGetter ¶
type ConfigMapsGetter interface {
ConfigMaps(namespace string) ConfigMapInterface
}
type EndpointsController ¶
type EndpointsController interface { Generic() controller.GenericController Informer() cache.SharedIndexInformer Lister() EndpointsLister AddHandler(ctx context.Context, name string, handler EndpointsHandlerFunc) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync EndpointsHandlerFunc) AddClusterScopedHandler(ctx context.Context, name, clusterName string, handler EndpointsHandlerFunc) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name, clusterName string, handler EndpointsHandlerFunc) Enqueue(namespace, name string) EnqueueAfter(namespace, name string, after time.Duration) Sync(ctx context.Context) error Start(ctx context.Context, threadiness int) error }
type EndpointsGetter ¶
type EndpointsGetter interface {
Endpoints(namespace string) EndpointsInterface
}
type EndpointsHandlerFunc ¶
func NewEndpointsLifecycleAdapter ¶
func NewEndpointsLifecycleAdapter(name string, clusterScoped bool, client EndpointsInterface, l EndpointsLifecycle) EndpointsHandlerFunc
type EndpointsInterface ¶
type EndpointsInterface interface { ObjectClient() *objectclient.ObjectClient Create(*v1.Endpoints) (*v1.Endpoints, error) GetNamespaced(namespace, name string, opts metav1.GetOptions) (*v1.Endpoints, error) Get(name string, opts metav1.GetOptions) (*v1.Endpoints, error) Update(*v1.Endpoints) (*v1.Endpoints, error) Delete(name string, options *metav1.DeleteOptions) error DeleteNamespaced(namespace, name string, options *metav1.DeleteOptions) error List(opts metav1.ListOptions) (*EndpointsList, error) ListNamespaced(namespace string, opts metav1.ListOptions) (*EndpointsList, error) Watch(opts metav1.ListOptions) (watch.Interface, error) DeleteCollection(deleteOpts *metav1.DeleteOptions, listOpts metav1.ListOptions) error Controller() EndpointsController AddHandler(ctx context.Context, name string, sync EndpointsHandlerFunc) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync EndpointsHandlerFunc) AddLifecycle(ctx context.Context, name string, lifecycle EndpointsLifecycle) AddFeatureLifecycle(ctx context.Context, enabled func() bool, name string, lifecycle EndpointsLifecycle) AddClusterScopedHandler(ctx context.Context, name, clusterName string, sync EndpointsHandlerFunc) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name, clusterName string, sync EndpointsHandlerFunc) AddClusterScopedLifecycle(ctx context.Context, name, clusterName string, lifecycle EndpointsLifecycle) AddClusterScopedFeatureLifecycle(ctx context.Context, enabled func() bool, name, clusterName string, lifecycle EndpointsLifecycle) }
type EndpointsLifecycle ¶
type EndpointsList ¶
type EndpointsList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []v1.Endpoints `json:"items"` }
func (*EndpointsList) DeepCopy ¶
func (in *EndpointsList) DeepCopy() *EndpointsList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EndpointsList.
func (*EndpointsList) DeepCopyInto ¶
func (in *EndpointsList) DeepCopyInto(out *EndpointsList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*EndpointsList) DeepCopyObject ¶
func (in *EndpointsList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type EndpointsLister ¶
type EventChangeHandlerFunc ¶
type EventController ¶
type EventController interface { Generic() controller.GenericController Informer() cache.SharedIndexInformer Lister() EventLister AddHandler(ctx context.Context, name string, handler EventHandlerFunc) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync EventHandlerFunc) AddClusterScopedHandler(ctx context.Context, name, clusterName string, handler EventHandlerFunc) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name, clusterName string, handler EventHandlerFunc) Enqueue(namespace, name string) EnqueueAfter(namespace, name string, after time.Duration) Sync(ctx context.Context) error Start(ctx context.Context, threadiness int) error }
type EventHandlerFunc ¶
func NewEventLifecycleAdapter ¶
func NewEventLifecycleAdapter(name string, clusterScoped bool, client EventInterface, l EventLifecycle) EventHandlerFunc
type EventInterface ¶
type EventInterface interface { ObjectClient() *objectclient.ObjectClient Create(*v1.Event) (*v1.Event, error) GetNamespaced(namespace, name string, opts metav1.GetOptions) (*v1.Event, error) Get(name string, opts metav1.GetOptions) (*v1.Event, error) Update(*v1.Event) (*v1.Event, error) Delete(name string, options *metav1.DeleteOptions) error DeleteNamespaced(namespace, name string, options *metav1.DeleteOptions) error List(opts metav1.ListOptions) (*EventList, error) ListNamespaced(namespace string, opts metav1.ListOptions) (*EventList, error) Watch(opts metav1.ListOptions) (watch.Interface, error) DeleteCollection(deleteOpts *metav1.DeleteOptions, listOpts metav1.ListOptions) error Controller() EventController AddHandler(ctx context.Context, name string, sync EventHandlerFunc) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync EventHandlerFunc) AddLifecycle(ctx context.Context, name string, lifecycle EventLifecycle) AddFeatureLifecycle(ctx context.Context, enabled func() bool, name string, lifecycle EventLifecycle) AddClusterScopedHandler(ctx context.Context, name, clusterName string, sync EventHandlerFunc) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name, clusterName string, sync EventHandlerFunc) AddClusterScopedLifecycle(ctx context.Context, name, clusterName string, lifecycle EventLifecycle) AddClusterScopedFeatureLifecycle(ctx context.Context, enabled func() bool, name, clusterName string, lifecycle EventLifecycle) }
type EventLifecycle ¶
type EventList ¶
type EventList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []v1.Event `json:"items"` }
func (*EventList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EventList.
func (*EventList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*EventList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type EventLister ¶
type EventsGetter ¶
type EventsGetter interface {
Events(namespace string) EventInterface
}
type Interface ¶
type Interface interface { RESTClient() rest.Interface controller.Starter NodesGetter ComponentStatusesGetter NamespacesGetter EventsGetter EndpointsGetter PersistentVolumeClaimsGetter PodsGetter ServicesGetter SecretsGetter ConfigMapsGetter ServiceAccountsGetter ReplicationControllersGetter ResourceQuotasGetter LimitRangesGetter }
type LimitRangeChangeHandlerFunc ¶
type LimitRangeChangeHandlerFunc func(obj *v1.LimitRange) (runtime.Object, error)
type LimitRangeController ¶
type LimitRangeController interface { Generic() controller.GenericController Informer() cache.SharedIndexInformer Lister() LimitRangeLister AddHandler(ctx context.Context, name string, handler LimitRangeHandlerFunc) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync LimitRangeHandlerFunc) AddClusterScopedHandler(ctx context.Context, name, clusterName string, handler LimitRangeHandlerFunc) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name, clusterName string, handler LimitRangeHandlerFunc) Enqueue(namespace, name string) EnqueueAfter(namespace, name string, after time.Duration) Sync(ctx context.Context) error Start(ctx context.Context, threadiness int) error }
type LimitRangeHandlerFunc ¶
func NewLimitRangeLifecycleAdapter ¶
func NewLimitRangeLifecycleAdapter(name string, clusterScoped bool, client LimitRangeInterface, l LimitRangeLifecycle) LimitRangeHandlerFunc
type LimitRangeInterface ¶
type LimitRangeInterface interface { ObjectClient() *objectclient.ObjectClient Create(*v1.LimitRange) (*v1.LimitRange, error) GetNamespaced(namespace, name string, opts metav1.GetOptions) (*v1.LimitRange, error) Get(name string, opts metav1.GetOptions) (*v1.LimitRange, error) Update(*v1.LimitRange) (*v1.LimitRange, error) Delete(name string, options *metav1.DeleteOptions) error DeleteNamespaced(namespace, name string, options *metav1.DeleteOptions) error List(opts metav1.ListOptions) (*LimitRangeList, error) ListNamespaced(namespace string, opts metav1.ListOptions) (*LimitRangeList, error) Watch(opts metav1.ListOptions) (watch.Interface, error) DeleteCollection(deleteOpts *metav1.DeleteOptions, listOpts metav1.ListOptions) error Controller() LimitRangeController AddHandler(ctx context.Context, name string, sync LimitRangeHandlerFunc) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync LimitRangeHandlerFunc) AddLifecycle(ctx context.Context, name string, lifecycle LimitRangeLifecycle) AddFeatureLifecycle(ctx context.Context, enabled func() bool, name string, lifecycle LimitRangeLifecycle) AddClusterScopedHandler(ctx context.Context, name, clusterName string, sync LimitRangeHandlerFunc) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name, clusterName string, sync LimitRangeHandlerFunc) AddClusterScopedLifecycle(ctx context.Context, name, clusterName string, lifecycle LimitRangeLifecycle) AddClusterScopedFeatureLifecycle(ctx context.Context, enabled func() bool, name, clusterName string, lifecycle LimitRangeLifecycle) }
type LimitRangeLifecycle ¶
type LimitRangeLifecycle interface { Create(obj *v1.LimitRange) (runtime.Object, error) Remove(obj *v1.LimitRange) (runtime.Object, error) Updated(obj *v1.LimitRange) (runtime.Object, error) }
type LimitRangeList ¶
type LimitRangeList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []v1.LimitRange `json:"items"` }
func (*LimitRangeList) DeepCopy ¶
func (in *LimitRangeList) DeepCopy() *LimitRangeList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LimitRangeList.
func (*LimitRangeList) DeepCopyInto ¶
func (in *LimitRangeList) DeepCopyInto(out *LimitRangeList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*LimitRangeList) DeepCopyObject ¶
func (in *LimitRangeList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type LimitRangeLister ¶
type LimitRangeLister interface { List(namespace string, selector labels.Selector) (ret []*v1.LimitRange, err error) Get(namespace, name string) (*v1.LimitRange, error) }
type LimitRangesGetter ¶
type LimitRangesGetter interface {
LimitRanges(namespace string) LimitRangeInterface
}
type NamespaceController ¶
type NamespaceController interface { Generic() controller.GenericController Informer() cache.SharedIndexInformer Lister() NamespaceLister AddHandler(ctx context.Context, name string, handler NamespaceHandlerFunc) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync NamespaceHandlerFunc) AddClusterScopedHandler(ctx context.Context, name, clusterName string, handler NamespaceHandlerFunc) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name, clusterName string, handler NamespaceHandlerFunc) Enqueue(namespace, name string) EnqueueAfter(namespace, name string, after time.Duration) Sync(ctx context.Context) error Start(ctx context.Context, threadiness int) error }
type NamespaceHandlerFunc ¶
func NewNamespaceLifecycleAdapter ¶
func NewNamespaceLifecycleAdapter(name string, clusterScoped bool, client NamespaceInterface, l NamespaceLifecycle) NamespaceHandlerFunc
type NamespaceInterface ¶
type NamespaceInterface interface { ObjectClient() *objectclient.ObjectClient Create(*v1.Namespace) (*v1.Namespace, error) GetNamespaced(namespace, name string, opts metav1.GetOptions) (*v1.Namespace, error) Get(name string, opts metav1.GetOptions) (*v1.Namespace, error) Update(*v1.Namespace) (*v1.Namespace, error) Delete(name string, options *metav1.DeleteOptions) error DeleteNamespaced(namespace, name string, options *metav1.DeleteOptions) error List(opts metav1.ListOptions) (*NamespaceList, error) ListNamespaced(namespace string, opts metav1.ListOptions) (*NamespaceList, error) Watch(opts metav1.ListOptions) (watch.Interface, error) DeleteCollection(deleteOpts *metav1.DeleteOptions, listOpts metav1.ListOptions) error Controller() NamespaceController AddHandler(ctx context.Context, name string, sync NamespaceHandlerFunc) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync NamespaceHandlerFunc) AddLifecycle(ctx context.Context, name string, lifecycle NamespaceLifecycle) AddFeatureLifecycle(ctx context.Context, enabled func() bool, name string, lifecycle NamespaceLifecycle) AddClusterScopedHandler(ctx context.Context, name, clusterName string, sync NamespaceHandlerFunc) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name, clusterName string, sync NamespaceHandlerFunc) AddClusterScopedLifecycle(ctx context.Context, name, clusterName string, lifecycle NamespaceLifecycle) AddClusterScopedFeatureLifecycle(ctx context.Context, enabled func() bool, name, clusterName string, lifecycle NamespaceLifecycle) }
type NamespaceLifecycle ¶
type NamespaceList ¶
type NamespaceList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []v1.Namespace `json:"items"` }
func (*NamespaceList) DeepCopy ¶
func (in *NamespaceList) DeepCopy() *NamespaceList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NamespaceList.
func (*NamespaceList) DeepCopyInto ¶
func (in *NamespaceList) DeepCopyInto(out *NamespaceList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*NamespaceList) DeepCopyObject ¶
func (in *NamespaceList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type NamespaceLister ¶
type NamespacesGetter ¶
type NamespacesGetter interface {
Namespaces(namespace string) NamespaceInterface
}
type NodeController ¶
type NodeController interface { Generic() controller.GenericController Informer() cache.SharedIndexInformer Lister() NodeLister AddHandler(ctx context.Context, name string, handler NodeHandlerFunc) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync NodeHandlerFunc) AddClusterScopedHandler(ctx context.Context, name, clusterName string, handler NodeHandlerFunc) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name, clusterName string, handler NodeHandlerFunc) Enqueue(namespace, name string) EnqueueAfter(namespace, name string, after time.Duration) Sync(ctx context.Context) error Start(ctx context.Context, threadiness int) error }
type NodeHandlerFunc ¶
func NewNodeLifecycleAdapter ¶
func NewNodeLifecycleAdapter(name string, clusterScoped bool, client NodeInterface, l NodeLifecycle) NodeHandlerFunc
type NodeInterface ¶
type NodeInterface interface { ObjectClient() *objectclient.ObjectClient Create(*v1.Node) (*v1.Node, error) GetNamespaced(namespace, name string, opts metav1.GetOptions) (*v1.Node, error) Get(name string, opts metav1.GetOptions) (*v1.Node, error) Update(*v1.Node) (*v1.Node, error) Delete(name string, options *metav1.DeleteOptions) error DeleteNamespaced(namespace, name string, options *metav1.DeleteOptions) error List(opts metav1.ListOptions) (*NodeList, error) ListNamespaced(namespace string, opts metav1.ListOptions) (*NodeList, error) Watch(opts metav1.ListOptions) (watch.Interface, error) DeleteCollection(deleteOpts *metav1.DeleteOptions, listOpts metav1.ListOptions) error Controller() NodeController AddHandler(ctx context.Context, name string, sync NodeHandlerFunc) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync NodeHandlerFunc) AddLifecycle(ctx context.Context, name string, lifecycle NodeLifecycle) AddFeatureLifecycle(ctx context.Context, enabled func() bool, name string, lifecycle NodeLifecycle) AddClusterScopedHandler(ctx context.Context, name, clusterName string, sync NodeHandlerFunc) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name, clusterName string, sync NodeHandlerFunc) AddClusterScopedLifecycle(ctx context.Context, name, clusterName string, lifecycle NodeLifecycle) AddClusterScopedFeatureLifecycle(ctx context.Context, enabled func() bool, name, clusterName string, lifecycle NodeLifecycle) }
type NodeLifecycle ¶
type NodeList ¶
type NodeList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []v1.Node `json:"items"` }
func (*NodeList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NodeList.
func (*NodeList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*NodeList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type NodeLister ¶
type NodesGetter ¶
type NodesGetter interface {
Nodes(namespace string) NodeInterface
}
type PersistentVolumeClaimChangeHandlerFunc ¶
type PersistentVolumeClaimChangeHandlerFunc func(obj *v1.PersistentVolumeClaim) (runtime.Object, error)
type PersistentVolumeClaimController ¶
type PersistentVolumeClaimController interface { Generic() controller.GenericController Informer() cache.SharedIndexInformer Lister() PersistentVolumeClaimLister AddHandler(ctx context.Context, name string, handler PersistentVolumeClaimHandlerFunc) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync PersistentVolumeClaimHandlerFunc) AddClusterScopedHandler(ctx context.Context, name, clusterName string, handler PersistentVolumeClaimHandlerFunc) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name, clusterName string, handler PersistentVolumeClaimHandlerFunc) Enqueue(namespace, name string) EnqueueAfter(namespace, name string, after time.Duration) Sync(ctx context.Context) error Start(ctx context.Context, threadiness int) error }
type PersistentVolumeClaimHandlerFunc ¶
type PersistentVolumeClaimHandlerFunc func(key string, obj *v1.PersistentVolumeClaim) (runtime.Object, error)
func NewPersistentVolumeClaimLifecycleAdapter ¶
func NewPersistentVolumeClaimLifecycleAdapter(name string, clusterScoped bool, client PersistentVolumeClaimInterface, l PersistentVolumeClaimLifecycle) PersistentVolumeClaimHandlerFunc
type PersistentVolumeClaimInterface ¶
type PersistentVolumeClaimInterface interface { ObjectClient() *objectclient.ObjectClient Create(*v1.PersistentVolumeClaim) (*v1.PersistentVolumeClaim, error) GetNamespaced(namespace, name string, opts metav1.GetOptions) (*v1.PersistentVolumeClaim, error) Get(name string, opts metav1.GetOptions) (*v1.PersistentVolumeClaim, error) Update(*v1.PersistentVolumeClaim) (*v1.PersistentVolumeClaim, error) Delete(name string, options *metav1.DeleteOptions) error DeleteNamespaced(namespace, name string, options *metav1.DeleteOptions) error List(opts metav1.ListOptions) (*PersistentVolumeClaimList, error) ListNamespaced(namespace string, opts metav1.ListOptions) (*PersistentVolumeClaimList, error) Watch(opts metav1.ListOptions) (watch.Interface, error) DeleteCollection(deleteOpts *metav1.DeleteOptions, listOpts metav1.ListOptions) error Controller() PersistentVolumeClaimController AddHandler(ctx context.Context, name string, sync PersistentVolumeClaimHandlerFunc) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync PersistentVolumeClaimHandlerFunc) AddLifecycle(ctx context.Context, name string, lifecycle PersistentVolumeClaimLifecycle) AddFeatureLifecycle(ctx context.Context, enabled func() bool, name string, lifecycle PersistentVolumeClaimLifecycle) AddClusterScopedHandler(ctx context.Context, name, clusterName string, sync PersistentVolumeClaimHandlerFunc) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name, clusterName string, sync PersistentVolumeClaimHandlerFunc) AddClusterScopedLifecycle(ctx context.Context, name, clusterName string, lifecycle PersistentVolumeClaimLifecycle) AddClusterScopedFeatureLifecycle(ctx context.Context, enabled func() bool, name, clusterName string, lifecycle PersistentVolumeClaimLifecycle) }
type PersistentVolumeClaimLifecycle ¶
type PersistentVolumeClaimLifecycle interface { Create(obj *v1.PersistentVolumeClaim) (runtime.Object, error) Remove(obj *v1.PersistentVolumeClaim) (runtime.Object, error) Updated(obj *v1.PersistentVolumeClaim) (runtime.Object, error) }
type PersistentVolumeClaimList ¶
type PersistentVolumeClaimList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []v1.PersistentVolumeClaim `json:"items"` }
func (*PersistentVolumeClaimList) DeepCopy ¶
func (in *PersistentVolumeClaimList) DeepCopy() *PersistentVolumeClaimList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PersistentVolumeClaimList.
func (*PersistentVolumeClaimList) DeepCopyInto ¶
func (in *PersistentVolumeClaimList) DeepCopyInto(out *PersistentVolumeClaimList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PersistentVolumeClaimList) DeepCopyObject ¶
func (in *PersistentVolumeClaimList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type PersistentVolumeClaimLister ¶
type PersistentVolumeClaimLister interface { List(namespace string, selector labels.Selector) (ret []*v1.PersistentVolumeClaim, err error) Get(namespace, name string) (*v1.PersistentVolumeClaim, error) }
type PersistentVolumeClaimsGetter ¶
type PersistentVolumeClaimsGetter interface {
PersistentVolumeClaims(namespace string) PersistentVolumeClaimInterface
}
type PodController ¶
type PodController interface { Generic() controller.GenericController Informer() cache.SharedIndexInformer Lister() PodLister AddHandler(ctx context.Context, name string, handler PodHandlerFunc) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync PodHandlerFunc) AddClusterScopedHandler(ctx context.Context, name, clusterName string, handler PodHandlerFunc) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name, clusterName string, handler PodHandlerFunc) Enqueue(namespace, name string) EnqueueAfter(namespace, name string, after time.Duration) Sync(ctx context.Context) error Start(ctx context.Context, threadiness int) error }
type PodHandlerFunc ¶
func NewPodLifecycleAdapter ¶
func NewPodLifecycleAdapter(name string, clusterScoped bool, client PodInterface, l PodLifecycle) PodHandlerFunc
type PodInterface ¶
type PodInterface interface { ObjectClient() *objectclient.ObjectClient Create(*v1.Pod) (*v1.Pod, error) GetNamespaced(namespace, name string, opts metav1.GetOptions) (*v1.Pod, error) Get(name string, opts metav1.GetOptions) (*v1.Pod, error) Update(*v1.Pod) (*v1.Pod, error) Delete(name string, options *metav1.DeleteOptions) error DeleteNamespaced(namespace, name string, options *metav1.DeleteOptions) error List(opts metav1.ListOptions) (*PodList, error) ListNamespaced(namespace string, opts metav1.ListOptions) (*PodList, error) Watch(opts metav1.ListOptions) (watch.Interface, error) DeleteCollection(deleteOpts *metav1.DeleteOptions, listOpts metav1.ListOptions) error Controller() PodController AddHandler(ctx context.Context, name string, sync PodHandlerFunc) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync PodHandlerFunc) AddLifecycle(ctx context.Context, name string, lifecycle PodLifecycle) AddFeatureLifecycle(ctx context.Context, enabled func() bool, name string, lifecycle PodLifecycle) AddClusterScopedHandler(ctx context.Context, name, clusterName string, sync PodHandlerFunc) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name, clusterName string, sync PodHandlerFunc) AddClusterScopedLifecycle(ctx context.Context, name, clusterName string, lifecycle PodLifecycle) AddClusterScopedFeatureLifecycle(ctx context.Context, enabled func() bool, name, clusterName string, lifecycle PodLifecycle) }
type PodLifecycle ¶
type PodList ¶
type PodList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []v1.Pod `json:"items"` }
func (*PodList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PodList.
func (*PodList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PodList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type PodsGetter ¶
type PodsGetter interface {
Pods(namespace string) PodInterface
}
type ReplicationControllerChangeHandlerFunc ¶
type ReplicationControllerChangeHandlerFunc func(obj *v1.ReplicationController) (runtime.Object, error)
type ReplicationControllerController ¶
type ReplicationControllerController interface { Generic() controller.GenericController Informer() cache.SharedIndexInformer Lister() ReplicationControllerLister AddHandler(ctx context.Context, name string, handler ReplicationControllerHandlerFunc) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync ReplicationControllerHandlerFunc) AddClusterScopedHandler(ctx context.Context, name, clusterName string, handler ReplicationControllerHandlerFunc) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name, clusterName string, handler ReplicationControllerHandlerFunc) Enqueue(namespace, name string) EnqueueAfter(namespace, name string, after time.Duration) Sync(ctx context.Context) error Start(ctx context.Context, threadiness int) error }
type ReplicationControllerHandlerFunc ¶
type ReplicationControllerHandlerFunc func(key string, obj *v1.ReplicationController) (runtime.Object, error)
func NewReplicationControllerLifecycleAdapter ¶
func NewReplicationControllerLifecycleAdapter(name string, clusterScoped bool, client ReplicationControllerInterface, l ReplicationControllerLifecycle) ReplicationControllerHandlerFunc
type ReplicationControllerInterface ¶
type ReplicationControllerInterface interface { ObjectClient() *objectclient.ObjectClient Create(*v1.ReplicationController) (*v1.ReplicationController, error) GetNamespaced(namespace, name string, opts metav1.GetOptions) (*v1.ReplicationController, error) Get(name string, opts metav1.GetOptions) (*v1.ReplicationController, error) Update(*v1.ReplicationController) (*v1.ReplicationController, error) Delete(name string, options *metav1.DeleteOptions) error DeleteNamespaced(namespace, name string, options *metav1.DeleteOptions) error List(opts metav1.ListOptions) (*ReplicationControllerList, error) ListNamespaced(namespace string, opts metav1.ListOptions) (*ReplicationControllerList, error) Watch(opts metav1.ListOptions) (watch.Interface, error) DeleteCollection(deleteOpts *metav1.DeleteOptions, listOpts metav1.ListOptions) error Controller() ReplicationControllerController AddHandler(ctx context.Context, name string, sync ReplicationControllerHandlerFunc) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync ReplicationControllerHandlerFunc) AddLifecycle(ctx context.Context, name string, lifecycle ReplicationControllerLifecycle) AddFeatureLifecycle(ctx context.Context, enabled func() bool, name string, lifecycle ReplicationControllerLifecycle) AddClusterScopedHandler(ctx context.Context, name, clusterName string, sync ReplicationControllerHandlerFunc) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name, clusterName string, sync ReplicationControllerHandlerFunc) AddClusterScopedLifecycle(ctx context.Context, name, clusterName string, lifecycle ReplicationControllerLifecycle) AddClusterScopedFeatureLifecycle(ctx context.Context, enabled func() bool, name, clusterName string, lifecycle ReplicationControllerLifecycle) }
type ReplicationControllerLifecycle ¶
type ReplicationControllerLifecycle interface { Create(obj *v1.ReplicationController) (runtime.Object, error) Remove(obj *v1.ReplicationController) (runtime.Object, error) Updated(obj *v1.ReplicationController) (runtime.Object, error) }
type ReplicationControllerList ¶
type ReplicationControllerList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []v1.ReplicationController `json:"items"` }
func (*ReplicationControllerList) DeepCopy ¶
func (in *ReplicationControllerList) DeepCopy() *ReplicationControllerList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReplicationControllerList.
func (*ReplicationControllerList) DeepCopyInto ¶
func (in *ReplicationControllerList) DeepCopyInto(out *ReplicationControllerList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ReplicationControllerList) DeepCopyObject ¶
func (in *ReplicationControllerList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ReplicationControllerLister ¶
type ReplicationControllerLister interface { List(namespace string, selector labels.Selector) (ret []*v1.ReplicationController, err error) Get(namespace, name string) (*v1.ReplicationController, error) }
type ReplicationControllersGetter ¶
type ReplicationControllersGetter interface {
ReplicationControllers(namespace string) ReplicationControllerInterface
}
type ResourceQuotaChangeHandlerFunc ¶
type ResourceQuotaChangeHandlerFunc func(obj *v1.ResourceQuota) (runtime.Object, error)
type ResourceQuotaController ¶
type ResourceQuotaController interface { Generic() controller.GenericController Informer() cache.SharedIndexInformer Lister() ResourceQuotaLister AddHandler(ctx context.Context, name string, handler ResourceQuotaHandlerFunc) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync ResourceQuotaHandlerFunc) AddClusterScopedHandler(ctx context.Context, name, clusterName string, handler ResourceQuotaHandlerFunc) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name, clusterName string, handler ResourceQuotaHandlerFunc) Enqueue(namespace, name string) EnqueueAfter(namespace, name string, after time.Duration) Sync(ctx context.Context) error Start(ctx context.Context, threadiness int) error }
type ResourceQuotaHandlerFunc ¶
func NewResourceQuotaLifecycleAdapter ¶
func NewResourceQuotaLifecycleAdapter(name string, clusterScoped bool, client ResourceQuotaInterface, l ResourceQuotaLifecycle) ResourceQuotaHandlerFunc
type ResourceQuotaInterface ¶
type ResourceQuotaInterface interface { ObjectClient() *objectclient.ObjectClient Create(*v1.ResourceQuota) (*v1.ResourceQuota, error) GetNamespaced(namespace, name string, opts metav1.GetOptions) (*v1.ResourceQuota, error) Get(name string, opts metav1.GetOptions) (*v1.ResourceQuota, error) Update(*v1.ResourceQuota) (*v1.ResourceQuota, error) Delete(name string, options *metav1.DeleteOptions) error DeleteNamespaced(namespace, name string, options *metav1.DeleteOptions) error List(opts metav1.ListOptions) (*ResourceQuotaList, error) ListNamespaced(namespace string, opts metav1.ListOptions) (*ResourceQuotaList, error) Watch(opts metav1.ListOptions) (watch.Interface, error) DeleteCollection(deleteOpts *metav1.DeleteOptions, listOpts metav1.ListOptions) error Controller() ResourceQuotaController AddHandler(ctx context.Context, name string, sync ResourceQuotaHandlerFunc) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync ResourceQuotaHandlerFunc) AddLifecycle(ctx context.Context, name string, lifecycle ResourceQuotaLifecycle) AddFeatureLifecycle(ctx context.Context, enabled func() bool, name string, lifecycle ResourceQuotaLifecycle) AddClusterScopedHandler(ctx context.Context, name, clusterName string, sync ResourceQuotaHandlerFunc) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name, clusterName string, sync ResourceQuotaHandlerFunc) AddClusterScopedLifecycle(ctx context.Context, name, clusterName string, lifecycle ResourceQuotaLifecycle) AddClusterScopedFeatureLifecycle(ctx context.Context, enabled func() bool, name, clusterName string, lifecycle ResourceQuotaLifecycle) }
type ResourceQuotaLifecycle ¶
type ResourceQuotaLifecycle interface { Create(obj *v1.ResourceQuota) (runtime.Object, error) Remove(obj *v1.ResourceQuota) (runtime.Object, error) Updated(obj *v1.ResourceQuota) (runtime.Object, error) }
type ResourceQuotaList ¶
type ResourceQuotaList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []v1.ResourceQuota `json:"items"` }
func (*ResourceQuotaList) DeepCopy ¶
func (in *ResourceQuotaList) DeepCopy() *ResourceQuotaList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceQuotaList.
func (*ResourceQuotaList) DeepCopyInto ¶
func (in *ResourceQuotaList) DeepCopyInto(out *ResourceQuotaList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ResourceQuotaList) DeepCopyObject ¶
func (in *ResourceQuotaList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ResourceQuotaLister ¶
type ResourceQuotaLister interface { List(namespace string, selector labels.Selector) (ret []*v1.ResourceQuota, err error) Get(namespace, name string) (*v1.ResourceQuota, error) }
type ResourceQuotasGetter ¶
type ResourceQuotasGetter interface {
ResourceQuotas(namespace string) ResourceQuotaInterface
}
type SecretChangeHandlerFunc ¶
type SecretController ¶
type SecretController interface { Generic() controller.GenericController Informer() cache.SharedIndexInformer Lister() SecretLister AddHandler(ctx context.Context, name string, handler SecretHandlerFunc) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync SecretHandlerFunc) AddClusterScopedHandler(ctx context.Context, name, clusterName string, handler SecretHandlerFunc) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name, clusterName string, handler SecretHandlerFunc) Enqueue(namespace, name string) EnqueueAfter(namespace, name string, after time.Duration) Sync(ctx context.Context) error Start(ctx context.Context, threadiness int) error }
type SecretHandlerFunc ¶
func NewSecretLifecycleAdapter ¶
func NewSecretLifecycleAdapter(name string, clusterScoped bool, client SecretInterface, l SecretLifecycle) SecretHandlerFunc
type SecretInterface ¶
type SecretInterface interface { ObjectClient() *objectclient.ObjectClient Create(*v1.Secret) (*v1.Secret, error) GetNamespaced(namespace, name string, opts metav1.GetOptions) (*v1.Secret, error) Get(name string, opts metav1.GetOptions) (*v1.Secret, error) Update(*v1.Secret) (*v1.Secret, error) Delete(name string, options *metav1.DeleteOptions) error DeleteNamespaced(namespace, name string, options *metav1.DeleteOptions) error List(opts metav1.ListOptions) (*SecretList, error) ListNamespaced(namespace string, opts metav1.ListOptions) (*SecretList, error) Watch(opts metav1.ListOptions) (watch.Interface, error) DeleteCollection(deleteOpts *metav1.DeleteOptions, listOpts metav1.ListOptions) error Controller() SecretController AddHandler(ctx context.Context, name string, sync SecretHandlerFunc) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync SecretHandlerFunc) AddLifecycle(ctx context.Context, name string, lifecycle SecretLifecycle) AddFeatureLifecycle(ctx context.Context, enabled func() bool, name string, lifecycle SecretLifecycle) AddClusterScopedHandler(ctx context.Context, name, clusterName string, sync SecretHandlerFunc) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name, clusterName string, sync SecretHandlerFunc) AddClusterScopedLifecycle(ctx context.Context, name, clusterName string, lifecycle SecretLifecycle) AddClusterScopedFeatureLifecycle(ctx context.Context, enabled func() bool, name, clusterName string, lifecycle SecretLifecycle) }
type SecretLifecycle ¶
type SecretList ¶
type SecretList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []v1.Secret `json:"items"` }
func (*SecretList) DeepCopy ¶
func (in *SecretList) DeepCopy() *SecretList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretList.
func (*SecretList) DeepCopyInto ¶
func (in *SecretList) DeepCopyInto(out *SecretList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SecretList) DeepCopyObject ¶
func (in *SecretList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type SecretLister ¶
type SecretsGetter ¶
type SecretsGetter interface {
Secrets(namespace string) SecretInterface
}
type ServiceAccountChangeHandlerFunc ¶
type ServiceAccountChangeHandlerFunc func(obj *v1.ServiceAccount) (runtime.Object, error)
type ServiceAccountController ¶
type ServiceAccountController interface { Generic() controller.GenericController Informer() cache.SharedIndexInformer Lister() ServiceAccountLister AddHandler(ctx context.Context, name string, handler ServiceAccountHandlerFunc) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync ServiceAccountHandlerFunc) AddClusterScopedHandler(ctx context.Context, name, clusterName string, handler ServiceAccountHandlerFunc) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name, clusterName string, handler ServiceAccountHandlerFunc) Enqueue(namespace, name string) EnqueueAfter(namespace, name string, after time.Duration) Sync(ctx context.Context) error Start(ctx context.Context, threadiness int) error }
type ServiceAccountHandlerFunc ¶
func NewServiceAccountLifecycleAdapter ¶
func NewServiceAccountLifecycleAdapter(name string, clusterScoped bool, client ServiceAccountInterface, l ServiceAccountLifecycle) ServiceAccountHandlerFunc
type ServiceAccountInterface ¶
type ServiceAccountInterface interface { ObjectClient() *objectclient.ObjectClient Create(*v1.ServiceAccount) (*v1.ServiceAccount, error) GetNamespaced(namespace, name string, opts metav1.GetOptions) (*v1.ServiceAccount, error) Get(name string, opts metav1.GetOptions) (*v1.ServiceAccount, error) Update(*v1.ServiceAccount) (*v1.ServiceAccount, error) Delete(name string, options *metav1.DeleteOptions) error DeleteNamespaced(namespace, name string, options *metav1.DeleteOptions) error List(opts metav1.ListOptions) (*ServiceAccountList, error) ListNamespaced(namespace string, opts metav1.ListOptions) (*ServiceAccountList, error) Watch(opts metav1.ListOptions) (watch.Interface, error) DeleteCollection(deleteOpts *metav1.DeleteOptions, listOpts metav1.ListOptions) error Controller() ServiceAccountController AddHandler(ctx context.Context, name string, sync ServiceAccountHandlerFunc) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync ServiceAccountHandlerFunc) AddLifecycle(ctx context.Context, name string, lifecycle ServiceAccountLifecycle) AddFeatureLifecycle(ctx context.Context, enabled func() bool, name string, lifecycle ServiceAccountLifecycle) AddClusterScopedHandler(ctx context.Context, name, clusterName string, sync ServiceAccountHandlerFunc) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name, clusterName string, sync ServiceAccountHandlerFunc) AddClusterScopedLifecycle(ctx context.Context, name, clusterName string, lifecycle ServiceAccountLifecycle) AddClusterScopedFeatureLifecycle(ctx context.Context, enabled func() bool, name, clusterName string, lifecycle ServiceAccountLifecycle) }
type ServiceAccountLifecycle ¶
type ServiceAccountLifecycle interface { Create(obj *v1.ServiceAccount) (runtime.Object, error) Remove(obj *v1.ServiceAccount) (runtime.Object, error) Updated(obj *v1.ServiceAccount) (runtime.Object, error) }
type ServiceAccountList ¶
type ServiceAccountList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []v1.ServiceAccount `json:"items"` }
func (*ServiceAccountList) DeepCopy ¶
func (in *ServiceAccountList) DeepCopy() *ServiceAccountList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceAccountList.
func (*ServiceAccountList) DeepCopyInto ¶
func (in *ServiceAccountList) DeepCopyInto(out *ServiceAccountList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ServiceAccountList) DeepCopyObject ¶
func (in *ServiceAccountList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ServiceAccountLister ¶
type ServiceAccountLister interface { List(namespace string, selector labels.Selector) (ret []*v1.ServiceAccount, err error) Get(namespace, name string) (*v1.ServiceAccount, error) }
type ServiceAccountsGetter ¶
type ServiceAccountsGetter interface {
ServiceAccounts(namespace string) ServiceAccountInterface
}
type ServiceController ¶
type ServiceController interface { Generic() controller.GenericController Informer() cache.SharedIndexInformer Lister() ServiceLister AddHandler(ctx context.Context, name string, handler ServiceHandlerFunc) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync ServiceHandlerFunc) AddClusterScopedHandler(ctx context.Context, name, clusterName string, handler ServiceHandlerFunc) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name, clusterName string, handler ServiceHandlerFunc) Enqueue(namespace, name string) EnqueueAfter(namespace, name string, after time.Duration) Sync(ctx context.Context) error Start(ctx context.Context, threadiness int) error }
type ServiceHandlerFunc ¶
func NewServiceLifecycleAdapter ¶
func NewServiceLifecycleAdapter(name string, clusterScoped bool, client ServiceInterface, l ServiceLifecycle) ServiceHandlerFunc
type ServiceInterface ¶
type ServiceInterface interface { ObjectClient() *objectclient.ObjectClient Create(*v1.Service) (*v1.Service, error) GetNamespaced(namespace, name string, opts metav1.GetOptions) (*v1.Service, error) Get(name string, opts metav1.GetOptions) (*v1.Service, error) Update(*v1.Service) (*v1.Service, error) Delete(name string, options *metav1.DeleteOptions) error DeleteNamespaced(namespace, name string, options *metav1.DeleteOptions) error List(opts metav1.ListOptions) (*ServiceList, error) ListNamespaced(namespace string, opts metav1.ListOptions) (*ServiceList, error) Watch(opts metav1.ListOptions) (watch.Interface, error) DeleteCollection(deleteOpts *metav1.DeleteOptions, listOpts metav1.ListOptions) error Controller() ServiceController AddHandler(ctx context.Context, name string, sync ServiceHandlerFunc) AddFeatureHandler(ctx context.Context, enabled func() bool, name string, sync ServiceHandlerFunc) AddLifecycle(ctx context.Context, name string, lifecycle ServiceLifecycle) AddFeatureLifecycle(ctx context.Context, enabled func() bool, name string, lifecycle ServiceLifecycle) AddClusterScopedHandler(ctx context.Context, name, clusterName string, sync ServiceHandlerFunc) AddClusterScopedFeatureHandler(ctx context.Context, enabled func() bool, name, clusterName string, sync ServiceHandlerFunc) AddClusterScopedLifecycle(ctx context.Context, name, clusterName string, lifecycle ServiceLifecycle) AddClusterScopedFeatureLifecycle(ctx context.Context, enabled func() bool, name, clusterName string, lifecycle ServiceLifecycle) }
type ServiceLifecycle ¶
type ServiceList ¶
type ServiceList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []v1.Service `json:"items"` }
func (*ServiceList) DeepCopy ¶
func (in *ServiceList) DeepCopy() *ServiceList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceList.
func (*ServiceList) DeepCopyInto ¶
func (in *ServiceList) DeepCopyInto(out *ServiceList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ServiceList) DeepCopyObject ¶
func (in *ServiceList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ServiceLister ¶
type ServicesGetter ¶
type ServicesGetter interface {
Services(namespace string) ServiceInterface
}
Source Files ¶
- zz_generated_component_status_controller.go
- zz_generated_component_status_lifecycle_adapter.go
- zz_generated_config_map_controller.go
- zz_generated_config_map_lifecycle_adapter.go
- zz_generated_deepcopy.go
- zz_generated_endpoints_controller.go
- zz_generated_endpoints_lifecycle_adapter.go
- zz_generated_event_controller.go
- zz_generated_event_lifecycle_adapter.go
- zz_generated_k8s_client.go
- zz_generated_limit_range_controller.go
- zz_generated_limit_range_lifecycle_adapter.go
- zz_generated_namespace_controller.go
- zz_generated_namespace_lifecycle_adapter.go
- zz_generated_node_controller.go
- zz_generated_node_lifecycle_adapter.go
- zz_generated_persistent_volume_claim_controller.go
- zz_generated_persistent_volume_claim_lifecycle_adapter.go
- zz_generated_pod_controller.go
- zz_generated_pod_lifecycle_adapter.go
- zz_generated_replication_controller_controller.go
- zz_generated_replication_controller_lifecycle_adapter.go
- zz_generated_resource_quota_controller.go
- zz_generated_resource_quota_lifecycle_adapter.go
- zz_generated_scheme.go
- zz_generated_secret_controller.go
- zz_generated_secret_lifecycle_adapter.go
- zz_generated_service_account_controller.go
- zz_generated_service_account_lifecycle_adapter.go
- zz_generated_service_controller.go
- zz_generated_service_lifecycle_adapter.go