Documentation ¶
Index ¶
- Constants
- Variables
- func Factory(ctx context.Context, config rest.Config) (context.Context, controller.Starter, error)
- func Kind(kind string) schema.GroupKind
- func Resource(resource string) schema.GroupResource
- type Client
- func (c *Client) Features(namespace string) FeatureInterface
- func (c *Client) ListenConfigs(namespace string) ListenConfigInterface
- func (c *Client) PublicDomains(namespace string) PublicDomainInterface
- func (c *Client) RESTClient() rest.Interface
- func (c *Client) Settings(namespace string) SettingInterface
- func (c *Client) Start(ctx context.Context, threadiness int) error
- func (c *Client) Sync(ctx context.Context) error
- type Clients
- type Feature
- type FeatureChangeHandlerFunc
- type FeatureClient
- type FeatureClientCache
- type FeatureController
- type FeatureHandlerFunc
- type FeatureIndexer
- type FeatureInterface
- type FeatureLifecycle
- type FeatureList
- type FeatureLister
- type FeatureSpec
- type FeatureStatus
- type FeaturesGetter
- type Interface
- type ListenConfig
- type ListenConfigChangeHandlerFunc
- type ListenConfigClient
- type ListenConfigClientCache
- type ListenConfigController
- type ListenConfigHandlerFunc
- type ListenConfigIndexer
- type ListenConfigInterface
- type ListenConfigLifecycle
- type ListenConfigList
- type ListenConfigLister
- type ListenConfigsGetter
- type PublicDomain
- type PublicDomainChangeHandlerFunc
- type PublicDomainClient
- type PublicDomainClientCache
- type PublicDomainController
- type PublicDomainHandlerFunc
- type PublicDomainIndexer
- type PublicDomainInterface
- type PublicDomainLifecycle
- type PublicDomainList
- type PublicDomainLister
- type PublicDomainSpec
- type PublicDomainsGetter
- type Setting
- type SettingChangeHandlerFunc
- type SettingClient
- type SettingClientCache
- type SettingController
- type SettingHandlerFunc
- type SettingIndexer
- type SettingInterface
- type SettingLifecycle
- type SettingList
- type SettingLister
- type SettingsGetter
Constants ¶
const ( GroupName = "project.rio.cattle.io" Version = "v1" )
Variables ¶
var ( FeatureGroupVersionKind = schema.GroupVersionKind{ Version: Version, Group: GroupName, Kind: "Feature", } FeatureResource = metav1.APIResource{ Name: "features", SingularName: "feature", Namespaced: true, Kind: FeatureGroupVersionKind.Kind, } )
var ( ListenConfigGroupVersionKind = schema.GroupVersionKind{ Version: Version, Group: GroupName, Kind: "ListenConfig", } ListenConfigResource = metav1.APIResource{ Name: "listenconfigs", SingularName: "listenconfig", Namespaced: false, Kind: ListenConfigGroupVersionKind.Kind, } )
var ( PublicDomainGroupVersionKind = schema.GroupVersionKind{ Version: Version, Group: GroupName, Kind: "PublicDomain", } PublicDomainResource = metav1.APIResource{ Name: "publicdomains", SingularName: "publicdomain", Namespaced: true, Kind: PublicDomainGroupVersionKind.Kind, } )
var ( SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) AddToScheme = SchemeBuilder.AddToScheme )
var ( SettingGroupVersionKind = schema.GroupVersionKind{ Version: Version, Group: GroupName, Kind: "Setting", } SettingResource = metav1.APIResource{ Name: "settings", SingularName: "setting", Namespaced: false, Kind: SettingGroupVersionKind.Kind, } )
var (
FeatureConditionEnabled = condition.Cond("Enabled")
)
var SchemeGroupVersion = schema.GroupVersion{Group: GroupName, Version: Version}
SchemeGroupVersion is group version used to register these objects
Functions ¶
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type Client ¶
func (*Client) Features ¶
func (c *Client) Features(namespace string) FeatureInterface
func (*Client) ListenConfigs ¶
func (c *Client) ListenConfigs(namespace string) ListenConfigInterface
func (*Client) PublicDomains ¶
func (c *Client) PublicDomains(namespace string) PublicDomainInterface
func (*Client) RESTClient ¶
func (*Client) Settings ¶
func (c *Client) Settings(namespace string) SettingInterface
type Clients ¶
type Clients struct { Interface Interface ListenConfig ListenConfigClient Setting SettingClient PublicDomain PublicDomainClient Feature FeatureClient }
func ClientsFrom ¶
func NewClientsFromInterface ¶
type Feature ¶
type Feature struct { types.Namespaced metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec FeatureSpec `json:"spec,omitempty"` Status FeatureStatus `json:"status,omitempty"` }
func NewFeature ¶
func (*Feature) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Feature.
func (*Feature) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Feature) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type FeatureClient ¶
type FeatureClient interface { Create(*Feature) (*Feature, error) Get(namespace, name string, opts metav1.GetOptions) (*Feature, error) Update(*Feature) (*Feature, error) Delete(namespace, name string, options *metav1.DeleteOptions) error List(namespace string, opts metav1.ListOptions) (*FeatureList, error) Watch(opts metav1.ListOptions) (watch.Interface, error) Cache() FeatureClientCache OnCreate(ctx context.Context, name string, sync FeatureChangeHandlerFunc) OnChange(ctx context.Context, name string, sync FeatureChangeHandlerFunc) OnRemove(ctx context.Context, name string, sync FeatureChangeHandlerFunc) Enqueue(namespace, name string) Generic() controller.GenericController ObjectClient() *objectclient.ObjectClient Interface() FeatureInterface }
type FeatureClientCache ¶
type FeatureController ¶
type FeatureController interface { Generic() controller.GenericController Informer() cache.SharedIndexInformer Lister() FeatureLister AddHandler(ctx context.Context, name string, handler FeatureHandlerFunc) AddClusterScopedHandler(ctx context.Context, name, clusterName string, handler FeatureHandlerFunc) Enqueue(namespace, name string) Sync(ctx context.Context) error Start(ctx context.Context, threadiness int) error }
type FeatureHandlerFunc ¶
func NewFeatureLifecycleAdapter ¶
func NewFeatureLifecycleAdapter(name string, clusterScoped bool, client FeatureInterface, l FeatureLifecycle) FeatureHandlerFunc
type FeatureIndexer ¶
type FeatureInterface ¶
type FeatureInterface interface { ObjectClient() *objectclient.ObjectClient Create(*Feature) (*Feature, error) GetNamespaced(namespace, name string, opts metav1.GetOptions) (*Feature, error) Get(name string, opts metav1.GetOptions) (*Feature, error) Update(*Feature) (*Feature, error) Delete(name string, options *metav1.DeleteOptions) error DeleteNamespaced(namespace, name string, options *metav1.DeleteOptions) error List(opts metav1.ListOptions) (*FeatureList, error) Watch(opts metav1.ListOptions) (watch.Interface, error) DeleteCollection(deleteOpts *metav1.DeleteOptions, listOpts metav1.ListOptions) error Controller() FeatureController AddHandler(ctx context.Context, name string, sync FeatureHandlerFunc) AddLifecycle(ctx context.Context, name string, lifecycle FeatureLifecycle) AddClusterScopedHandler(ctx context.Context, name, clusterName string, sync FeatureHandlerFunc) AddClusterScopedLifecycle(ctx context.Context, name, clusterName string, lifecycle FeatureLifecycle) }
type FeatureLifecycle ¶
type FeatureList ¶
type FeatureList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Feature }
func (*FeatureList) DeepCopy ¶
func (in *FeatureList) DeepCopy() *FeatureList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FeatureList.
func (*FeatureList) DeepCopyInto ¶
func (in *FeatureList) DeepCopyInto(out *FeatureList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*FeatureList) DeepCopyObject ¶
func (in *FeatureList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type FeatureLister ¶
type FeatureSpec ¶
type FeatureSpec struct { Description string `json:"description,omitempty"` Enabled bool `json:"enable,omitempty"` Questions []v3.Question `json:"questions,omitempty"` Answers map[string]string `json:"answers,omitempty"` Requires []string `json:"features,omitempty"` }
func (*FeatureSpec) DeepCopy ¶
func (in *FeatureSpec) DeepCopy() *FeatureSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FeatureSpec.
func (*FeatureSpec) DeepCopyInto ¶
func (in *FeatureSpec) DeepCopyInto(out *FeatureSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FeatureStatus ¶
type FeatureStatus struct {
Conditions []condition.GenericCondition `json:"conditions,omitempty"`
}
func (*FeatureStatus) DeepCopy ¶
func (in *FeatureStatus) DeepCopy() *FeatureStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FeatureStatus.
func (*FeatureStatus) DeepCopyInto ¶
func (in *FeatureStatus) DeepCopyInto(out *FeatureStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FeaturesGetter ¶
type FeaturesGetter interface {
Features(namespace string) FeatureInterface
}
type Interface ¶
type Interface interface { RESTClient() rest.Interface controller.Starter ListenConfigsGetter SettingsGetter PublicDomainsGetter FeaturesGetter }
type ListenConfig ¶
type ListenConfig struct {
v3.ListenConfig
}
func NewListenConfig ¶
func NewListenConfig(namespace, name string, obj ListenConfig) *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 ListenConfigChangeHandlerFunc ¶
type ListenConfigChangeHandlerFunc func(obj *ListenConfig) (runtime.Object, error)
type ListenConfigClient ¶
type ListenConfigClient interface { Create(*ListenConfig) (*ListenConfig, error) Get(namespace, name string, opts metav1.GetOptions) (*ListenConfig, error) Update(*ListenConfig) (*ListenConfig, error) Delete(namespace, name string, options *metav1.DeleteOptions) error List(namespace string, opts metav1.ListOptions) (*ListenConfigList, error) Watch(opts metav1.ListOptions) (watch.Interface, error) Cache() ListenConfigClientCache OnCreate(ctx context.Context, name string, sync ListenConfigChangeHandlerFunc) OnChange(ctx context.Context, name string, sync ListenConfigChangeHandlerFunc) OnRemove(ctx context.Context, name string, sync ListenConfigChangeHandlerFunc) Enqueue(namespace, name string) Generic() controller.GenericController ObjectClient() *objectclient.ObjectClient Interface() ListenConfigInterface }
type ListenConfigClientCache ¶
type ListenConfigClientCache interface { Get(namespace, name string) (*ListenConfig, error) List(namespace string, selector labels.Selector) ([]*ListenConfig, error) Index(name string, indexer ListenConfigIndexer) GetIndexed(name, key string) ([]*ListenConfig, error) }
type ListenConfigController ¶
type ListenConfigController interface { Generic() controller.GenericController Informer() cache.SharedIndexInformer Lister() ListenConfigLister AddHandler(ctx context.Context, name string, handler ListenConfigHandlerFunc) AddClusterScopedHandler(ctx context.Context, 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) (runtime.Object, error)
func NewListenConfigLifecycleAdapter ¶
func NewListenConfigLifecycleAdapter(name string, clusterScoped bool, client ListenConfigInterface, l ListenConfigLifecycle) ListenConfigHandlerFunc
type ListenConfigIndexer ¶
type ListenConfigIndexer func(obj *ListenConfig) ([]string, error)
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(ctx context.Context, name string, sync ListenConfigHandlerFunc) AddLifecycle(ctx context.Context, name string, lifecycle ListenConfigLifecycle) AddClusterScopedHandler(ctx context.Context, name, clusterName string, sync ListenConfigHandlerFunc) AddClusterScopedLifecycle(ctx context.Context, name, clusterName string, lifecycle ListenConfigLifecycle) }
type ListenConfigLifecycle ¶
type ListenConfigLifecycle interface { Create(obj *ListenConfig) (runtime.Object, error) Remove(obj *ListenConfig) (runtime.Object, error) Updated(obj *ListenConfig) (runtime.Object, 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
}
type PublicDomain ¶
type PublicDomain struct { types.Namespaced metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec PublicDomainSpec `json:"spec,inline"` }
func NewPublicDomain ¶
func NewPublicDomain(namespace, name string, obj PublicDomain) *PublicDomain
func (*PublicDomain) DeepCopy ¶
func (in *PublicDomain) DeepCopy() *PublicDomain
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PublicDomain.
func (*PublicDomain) DeepCopyInto ¶
func (in *PublicDomain) DeepCopyInto(out *PublicDomain)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PublicDomain) DeepCopyObject ¶
func (in *PublicDomain) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type PublicDomainChangeHandlerFunc ¶
type PublicDomainChangeHandlerFunc func(obj *PublicDomain) (runtime.Object, error)
type PublicDomainClient ¶
type PublicDomainClient interface { Create(*PublicDomain) (*PublicDomain, error) Get(namespace, name string, opts metav1.GetOptions) (*PublicDomain, error) Update(*PublicDomain) (*PublicDomain, error) Delete(namespace, name string, options *metav1.DeleteOptions) error List(namespace string, opts metav1.ListOptions) (*PublicDomainList, error) Watch(opts metav1.ListOptions) (watch.Interface, error) Cache() PublicDomainClientCache OnCreate(ctx context.Context, name string, sync PublicDomainChangeHandlerFunc) OnChange(ctx context.Context, name string, sync PublicDomainChangeHandlerFunc) OnRemove(ctx context.Context, name string, sync PublicDomainChangeHandlerFunc) Enqueue(namespace, name string) Generic() controller.GenericController ObjectClient() *objectclient.ObjectClient Interface() PublicDomainInterface }
type PublicDomainClientCache ¶
type PublicDomainClientCache interface { Get(namespace, name string) (*PublicDomain, error) List(namespace string, selector labels.Selector) ([]*PublicDomain, error) Index(name string, indexer PublicDomainIndexer) GetIndexed(name, key string) ([]*PublicDomain, error) }
type PublicDomainController ¶
type PublicDomainController interface { Generic() controller.GenericController Informer() cache.SharedIndexInformer Lister() PublicDomainLister AddHandler(ctx context.Context, name string, handler PublicDomainHandlerFunc) AddClusterScopedHandler(ctx context.Context, name, clusterName string, handler PublicDomainHandlerFunc) Enqueue(namespace, name string) Sync(ctx context.Context) error Start(ctx context.Context, threadiness int) error }
type PublicDomainHandlerFunc ¶
type PublicDomainHandlerFunc func(key string, obj *PublicDomain) (runtime.Object, error)
func NewPublicDomainLifecycleAdapter ¶
func NewPublicDomainLifecycleAdapter(name string, clusterScoped bool, client PublicDomainInterface, l PublicDomainLifecycle) PublicDomainHandlerFunc
type PublicDomainIndexer ¶
type PublicDomainIndexer func(obj *PublicDomain) ([]string, error)
type PublicDomainInterface ¶
type PublicDomainInterface interface { ObjectClient() *objectclient.ObjectClient Create(*PublicDomain) (*PublicDomain, error) GetNamespaced(namespace, name string, opts metav1.GetOptions) (*PublicDomain, error) Get(name string, opts metav1.GetOptions) (*PublicDomain, error) Update(*PublicDomain) (*PublicDomain, error) Delete(name string, options *metav1.DeleteOptions) error DeleteNamespaced(namespace, name string, options *metav1.DeleteOptions) error List(opts metav1.ListOptions) (*PublicDomainList, error) Watch(opts metav1.ListOptions) (watch.Interface, error) DeleteCollection(deleteOpts *metav1.DeleteOptions, listOpts metav1.ListOptions) error Controller() PublicDomainController AddHandler(ctx context.Context, name string, sync PublicDomainHandlerFunc) AddLifecycle(ctx context.Context, name string, lifecycle PublicDomainLifecycle) AddClusterScopedHandler(ctx context.Context, name, clusterName string, sync PublicDomainHandlerFunc) AddClusterScopedLifecycle(ctx context.Context, name, clusterName string, lifecycle PublicDomainLifecycle) }
type PublicDomainLifecycle ¶
type PublicDomainLifecycle interface { Create(obj *PublicDomain) (runtime.Object, error) Remove(obj *PublicDomain) (runtime.Object, error) Updated(obj *PublicDomain) (runtime.Object, error) }
type PublicDomainList ¶
type PublicDomainList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []PublicDomain }
func (*PublicDomainList) DeepCopy ¶
func (in *PublicDomainList) DeepCopy() *PublicDomainList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PublicDomainList.
func (*PublicDomainList) DeepCopyInto ¶
func (in *PublicDomainList) DeepCopyInto(out *PublicDomainList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PublicDomainList) DeepCopyObject ¶
func (in *PublicDomainList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type PublicDomainLister ¶
type PublicDomainLister interface { List(namespace string, selector labels.Selector) (ret []*PublicDomain, err error) Get(namespace, name string) (*PublicDomain, error) }
type PublicDomainSpec ¶
type PublicDomainSpec struct { TargetName string `json:"targetName,omitempty"` TargetStackName string `json:"targetStackName,omitempty"` TargetProjectName string `json:"targetProjectName,omitempty"` DomainName string `json:"domainName,omitempty"` }
func (*PublicDomainSpec) DeepCopy ¶
func (in *PublicDomainSpec) DeepCopy() *PublicDomainSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PublicDomainSpec.
func (*PublicDomainSpec) DeepCopyInto ¶
func (in *PublicDomainSpec) DeepCopyInto(out *PublicDomainSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PublicDomainsGetter ¶
type PublicDomainsGetter interface {
PublicDomains(namespace string) PublicDomainInterface
}
type Setting ¶
func NewSetting ¶
func (*Setting) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Setting.
func (*Setting) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Setting) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type SettingClient ¶
type SettingClient interface { Create(*Setting) (*Setting, error) Get(namespace, name string, opts metav1.GetOptions) (*Setting, error) Update(*Setting) (*Setting, error) Delete(namespace, name string, options *metav1.DeleteOptions) error List(namespace string, opts metav1.ListOptions) (*SettingList, error) Watch(opts metav1.ListOptions) (watch.Interface, error) Cache() SettingClientCache OnCreate(ctx context.Context, name string, sync SettingChangeHandlerFunc) OnChange(ctx context.Context, name string, sync SettingChangeHandlerFunc) OnRemove(ctx context.Context, name string, sync SettingChangeHandlerFunc) Enqueue(namespace, name string) Generic() controller.GenericController ObjectClient() *objectclient.ObjectClient Interface() SettingInterface }
type SettingClientCache ¶
type SettingController ¶
type SettingController interface { Generic() controller.GenericController Informer() cache.SharedIndexInformer Lister() SettingLister AddHandler(ctx context.Context, name string, handler SettingHandlerFunc) AddClusterScopedHandler(ctx context.Context, name, clusterName string, handler SettingHandlerFunc) Enqueue(namespace, name string) Sync(ctx context.Context) error Start(ctx context.Context, threadiness int) error }
type SettingHandlerFunc ¶
func NewSettingLifecycleAdapter ¶
func NewSettingLifecycleAdapter(name string, clusterScoped bool, client SettingInterface, l SettingLifecycle) SettingHandlerFunc
type SettingIndexer ¶
type SettingInterface ¶
type SettingInterface interface { ObjectClient() *objectclient.ObjectClient Create(*Setting) (*Setting, error) GetNamespaced(namespace, name string, opts metav1.GetOptions) (*Setting, error) Get(name string, opts metav1.GetOptions) (*Setting, error) Update(*Setting) (*Setting, error) Delete(name string, options *metav1.DeleteOptions) error DeleteNamespaced(namespace, name string, options *metav1.DeleteOptions) error List(opts metav1.ListOptions) (*SettingList, error) Watch(opts metav1.ListOptions) (watch.Interface, error) DeleteCollection(deleteOpts *metav1.DeleteOptions, listOpts metav1.ListOptions) error Controller() SettingController AddHandler(ctx context.Context, name string, sync SettingHandlerFunc) AddLifecycle(ctx context.Context, name string, lifecycle SettingLifecycle) AddClusterScopedHandler(ctx context.Context, name, clusterName string, sync SettingHandlerFunc) AddClusterScopedLifecycle(ctx context.Context, name, clusterName string, lifecycle SettingLifecycle) }
type SettingLifecycle ¶
type SettingList ¶
type SettingList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Setting }
func (*SettingList) DeepCopy ¶
func (in *SettingList) DeepCopy() *SettingList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SettingList.
func (*SettingList) DeepCopyInto ¶
func (in *SettingList) DeepCopyInto(out *SettingList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SettingList) DeepCopyObject ¶
func (in *SettingList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type SettingLister ¶
type SettingsGetter ¶
type SettingsGetter interface {
Settings(namespace string) SettingInterface
}
Source Files ¶
- feature.go
- listenconfig.go
- publicdomain.go
- settings.go
- zz_generated_deepcopy.go
- zz_generated_feature_controller.go
- zz_generated_feature_lifecycle_adapter.go
- zz_generated_k8s_client.go
- zz_generated_listen_config_controller.go
- zz_generated_listen_config_lifecycle_adapter.go
- zz_generated_public_domain_controller.go
- zz_generated_public_domain_lifecycle_adapter.go
- zz_generated_scheme.go
- zz_generated_setting_controller.go
- zz_generated_setting_lifecycle_adapter.go