Documentation ¶
Index ¶
- type AdmissionregistrationV1ClusterClient
- func (c *AdmissionregistrationV1ClusterClient) Cluster(clusterPath logicalcluster.Path) admissionregistrationv1.AdmissionregistrationV1Interface
- func (c *AdmissionregistrationV1ClusterClient) MutatingWebhookConfigurations() MutatingWebhookConfigurationClusterInterface
- func (c *AdmissionregistrationV1ClusterClient) ValidatingWebhookConfigurations() ValidatingWebhookConfigurationClusterInterface
- type AdmissionregistrationV1ClusterInterface
- type AdmissionregistrationV1ClusterScoper
- type MutatingWebhookConfigurationClusterInterface
- type MutatingWebhookConfigurationsClusterGetter
- type ValidatingWebhookConfigurationClusterInterface
- type ValidatingWebhookConfigurationsClusterGetter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AdmissionregistrationV1ClusterClient ¶
type AdmissionregistrationV1ClusterClient struct {
// contains filtered or unexported fields
}
func NewForConfig ¶
func NewForConfig(c *rest.Config) (*AdmissionregistrationV1ClusterClient, error)
NewForConfig creates a new AdmissionregistrationV1ClusterClient for the given config. NewForConfig is equivalent to NewForConfigAndClient(c, httpClient), where httpClient was generated with rest.HTTPClientFor(c).
func NewForConfigAndClient ¶
func NewForConfigAndClient(c *rest.Config, h *http.Client) (*AdmissionregistrationV1ClusterClient, error)
NewForConfigAndClient creates a new AdmissionregistrationV1ClusterClient for the given config and http client. Note the http client provided takes precedence over the configured transport values.
func NewForConfigOrDie ¶
func NewForConfigOrDie(c *rest.Config) *AdmissionregistrationV1ClusterClient
NewForConfigOrDie creates a new AdmissionregistrationV1ClusterClient for the given config and panics if there is an error in the config.
func (*AdmissionregistrationV1ClusterClient) Cluster ¶
func (c *AdmissionregistrationV1ClusterClient) Cluster(clusterPath logicalcluster.Path) admissionregistrationv1.AdmissionregistrationV1Interface
func (*AdmissionregistrationV1ClusterClient) MutatingWebhookConfigurations ¶
func (c *AdmissionregistrationV1ClusterClient) MutatingWebhookConfigurations() MutatingWebhookConfigurationClusterInterface
func (*AdmissionregistrationV1ClusterClient) ValidatingWebhookConfigurations ¶
func (c *AdmissionregistrationV1ClusterClient) ValidatingWebhookConfigurations() ValidatingWebhookConfigurationClusterInterface
type AdmissionregistrationV1ClusterInterface ¶
type AdmissionregistrationV1ClusterInterface interface { AdmissionregistrationV1ClusterScoper ValidatingWebhookConfigurationsClusterGetter MutatingWebhookConfigurationsClusterGetter }
type AdmissionregistrationV1ClusterScoper ¶
type AdmissionregistrationV1ClusterScoper interface {
Cluster(logicalcluster.Path) admissionregistrationv1.AdmissionregistrationV1Interface
}
type MutatingWebhookConfigurationClusterInterface ¶
type MutatingWebhookConfigurationClusterInterface interface { Cluster(logicalcluster.Path) admissionregistrationv1client.MutatingWebhookConfigurationInterface List(ctx context.Context, opts metav1.ListOptions) (*admissionregistrationv1.MutatingWebhookConfigurationList, error) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error) }
MutatingWebhookConfigurationClusterInterface can operate on MutatingWebhookConfigurations across all clusters, or scope down to one cluster and return a admissionregistrationv1client.MutatingWebhookConfigurationInterface.
type MutatingWebhookConfigurationsClusterGetter ¶
type MutatingWebhookConfigurationsClusterGetter interface {
MutatingWebhookConfigurations() MutatingWebhookConfigurationClusterInterface
}
MutatingWebhookConfigurationsClusterGetter has a method to return a MutatingWebhookConfigurationClusterInterface. A group's cluster client should implement this interface.
type ValidatingWebhookConfigurationClusterInterface ¶
type ValidatingWebhookConfigurationClusterInterface interface { Cluster(logicalcluster.Path) admissionregistrationv1client.ValidatingWebhookConfigurationInterface List(ctx context.Context, opts metav1.ListOptions) (*admissionregistrationv1.ValidatingWebhookConfigurationList, error) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error) }
ValidatingWebhookConfigurationClusterInterface can operate on ValidatingWebhookConfigurations across all clusters, or scope down to one cluster and return a admissionregistrationv1client.ValidatingWebhookConfigurationInterface.
type ValidatingWebhookConfigurationsClusterGetter ¶
type ValidatingWebhookConfigurationsClusterGetter interface {
ValidatingWebhookConfigurations() ValidatingWebhookConfigurationClusterInterface
}
ValidatingWebhookConfigurationsClusterGetter has a method to return a ValidatingWebhookConfigurationClusterInterface. A group's cluster client should implement this interface.