Documentation ¶
Index ¶
- type AdmissionregistrationV1alpha1ClusterClient
- func (c *AdmissionregistrationV1alpha1ClusterClient) Cluster(clusterPath logicalcluster.Path) admissionregistrationv1alpha1.AdmissionregistrationV1alpha1Interface
- func (c *AdmissionregistrationV1alpha1ClusterClient) ValidatingAdmissionPolicies() ValidatingAdmissionPolicyClusterInterface
- func (c *AdmissionregistrationV1alpha1ClusterClient) ValidatingAdmissionPolicyBindings() ValidatingAdmissionPolicyBindingClusterInterface
- type AdmissionregistrationV1alpha1ClusterInterface
- type AdmissionregistrationV1alpha1ClusterScoper
- type ValidatingAdmissionPoliciesClusterGetter
- type ValidatingAdmissionPolicyBindingClusterInterface
- type ValidatingAdmissionPolicyBindingsClusterGetter
- type ValidatingAdmissionPolicyClusterInterface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AdmissionregistrationV1alpha1ClusterClient ¶
type AdmissionregistrationV1alpha1ClusterClient struct {
// contains filtered or unexported fields
}
func NewForConfig ¶
func NewForConfig(c *rest.Config) (*AdmissionregistrationV1alpha1ClusterClient, error)
NewForConfig creates a new AdmissionregistrationV1alpha1ClusterClient 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) (*AdmissionregistrationV1alpha1ClusterClient, error)
NewForConfigAndClient creates a new AdmissionregistrationV1alpha1ClusterClient 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) *AdmissionregistrationV1alpha1ClusterClient
NewForConfigOrDie creates a new AdmissionregistrationV1alpha1ClusterClient for the given config and panics if there is an error in the config.
func (*AdmissionregistrationV1alpha1ClusterClient) Cluster ¶
func (c *AdmissionregistrationV1alpha1ClusterClient) Cluster(clusterPath logicalcluster.Path) admissionregistrationv1alpha1.AdmissionregistrationV1alpha1Interface
func (*AdmissionregistrationV1alpha1ClusterClient) ValidatingAdmissionPolicies ¶
func (c *AdmissionregistrationV1alpha1ClusterClient) ValidatingAdmissionPolicies() ValidatingAdmissionPolicyClusterInterface
func (*AdmissionregistrationV1alpha1ClusterClient) ValidatingAdmissionPolicyBindings ¶
func (c *AdmissionregistrationV1alpha1ClusterClient) ValidatingAdmissionPolicyBindings() ValidatingAdmissionPolicyBindingClusterInterface
type AdmissionregistrationV1alpha1ClusterInterface ¶
type AdmissionregistrationV1alpha1ClusterInterface interface { AdmissionregistrationV1alpha1ClusterScoper ValidatingAdmissionPoliciesClusterGetter ValidatingAdmissionPolicyBindingsClusterGetter }
type AdmissionregistrationV1alpha1ClusterScoper ¶
type AdmissionregistrationV1alpha1ClusterScoper interface {
Cluster(logicalcluster.Path) admissionregistrationv1alpha1.AdmissionregistrationV1alpha1Interface
}
type ValidatingAdmissionPoliciesClusterGetter ¶
type ValidatingAdmissionPoliciesClusterGetter interface {
ValidatingAdmissionPolicies() ValidatingAdmissionPolicyClusterInterface
}
ValidatingAdmissionPoliciesClusterGetter has a method to return a ValidatingAdmissionPolicyClusterInterface. A group's cluster client should implement this interface.
type ValidatingAdmissionPolicyBindingClusterInterface ¶
type ValidatingAdmissionPolicyBindingClusterInterface interface { Cluster(logicalcluster.Path) admissionregistrationv1alpha1client.ValidatingAdmissionPolicyBindingInterface List(ctx context.Context, opts metav1.ListOptions) (*admissionregistrationv1alpha1.ValidatingAdmissionPolicyBindingList, error) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error) }
ValidatingAdmissionPolicyBindingClusterInterface can operate on ValidatingAdmissionPolicyBindings across all clusters, or scope down to one cluster and return a admissionregistrationv1alpha1client.ValidatingAdmissionPolicyBindingInterface.
type ValidatingAdmissionPolicyBindingsClusterGetter ¶
type ValidatingAdmissionPolicyBindingsClusterGetter interface {
ValidatingAdmissionPolicyBindings() ValidatingAdmissionPolicyBindingClusterInterface
}
ValidatingAdmissionPolicyBindingsClusterGetter has a method to return a ValidatingAdmissionPolicyBindingClusterInterface. A group's cluster client should implement this interface.
type ValidatingAdmissionPolicyClusterInterface ¶
type ValidatingAdmissionPolicyClusterInterface interface { Cluster(logicalcluster.Path) admissionregistrationv1alpha1client.ValidatingAdmissionPolicyInterface List(ctx context.Context, opts metav1.ListOptions) (*admissionregistrationv1alpha1.ValidatingAdmissionPolicyList, error) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error) }
ValidatingAdmissionPolicyClusterInterface can operate on ValidatingAdmissionPolicies across all clusters, or scope down to one cluster and return a admissionregistrationv1alpha1client.ValidatingAdmissionPolicyInterface.