v1

package
v1.18.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 12, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

This package has the automatically generated typed clients.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClusterConfigExpansion

type ClusterConfigExpansion interface{}

type ClusterConfigInterface

type ClusterConfigInterface interface {
	Create(ctx context.Context, clusterConfig *v1.ClusterConfig, opts metav1.CreateOptions) (*v1.ClusterConfig, error)
	Update(ctx context.Context, clusterConfig *v1.ClusterConfig, opts metav1.UpdateOptions) (*v1.ClusterConfig, error)
	UpdateStatus(ctx context.Context, clusterConfig *v1.ClusterConfig, opts metav1.UpdateOptions) (*v1.ClusterConfig, error)
	Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
	Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.ClusterConfig, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.ClusterConfigList, error)
	Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.ClusterConfig, err error)
	ClusterConfigExpansion
}

ClusterConfigInterface has methods to work with ClusterConfig resources.

type ClusterConfigsGetter

type ClusterConfigsGetter interface {
	ClusterConfigs() ClusterConfigInterface
}

ClusterConfigsGetter has a method to return a ClusterConfigInterface. A group's client should implement this interface.

type ClusterSelectorExpansion

type ClusterSelectorExpansion interface{}

type ClusterSelectorInterface

type ClusterSelectorInterface interface {
	Create(ctx context.Context, clusterSelector *v1.ClusterSelector, opts metav1.CreateOptions) (*v1.ClusterSelector, error)
	Update(ctx context.Context, clusterSelector *v1.ClusterSelector, opts metav1.UpdateOptions) (*v1.ClusterSelector, error)
	Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
	Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.ClusterSelector, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.ClusterSelectorList, error)
	Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.ClusterSelector, err error)
	ClusterSelectorExpansion
}

ClusterSelectorInterface has methods to work with ClusterSelector resources.

type ClusterSelectorsGetter

type ClusterSelectorsGetter interface {
	ClusterSelectors() ClusterSelectorInterface
}

ClusterSelectorsGetter has a method to return a ClusterSelectorInterface. A group's client should implement this interface.

type ConfigmanagementV1Client

type ConfigmanagementV1Client struct {
	// contains filtered or unexported fields
}

ConfigmanagementV1Client is used to interact with features provided by the configmanagement.gke.io group.

func New

New creates a new ConfigmanagementV1Client for the given RESTClient.

func NewForConfig

func NewForConfig(c *rest.Config) (*ConfigmanagementV1Client, error)

NewForConfig creates a new ConfigmanagementV1Client for the given config. NewForConfig is equivalent to NewForConfigAndClient(c, httpClient), where httpClient was generated with rest.HTTPClientFor(c).

func NewForConfigAndClient added in v1.17.0

func NewForConfigAndClient(c *rest.Config, h *http.Client) (*ConfigmanagementV1Client, error)

NewForConfigAndClient creates a new ConfigmanagementV1Client 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) *ConfigmanagementV1Client

NewForConfigOrDie creates a new ConfigmanagementV1Client for the given config and panics if there is an error in the config.

func (*ConfigmanagementV1Client) ClusterConfigs

func (*ConfigmanagementV1Client) ClusterSelectors

func (c *ConfigmanagementV1Client) ClusterSelectors() ClusterSelectorInterface

func (*ConfigmanagementV1Client) HierarchyConfigs

func (c *ConfigmanagementV1Client) HierarchyConfigs() HierarchyConfigInterface

func (*ConfigmanagementV1Client) NamespaceConfigs

func (c *ConfigmanagementV1Client) NamespaceConfigs() NamespaceConfigInterface

func (*ConfigmanagementV1Client) NamespaceSelectors

func (c *ConfigmanagementV1Client) NamespaceSelectors() NamespaceSelectorInterface

func (*ConfigmanagementV1Client) RESTClient

func (c *ConfigmanagementV1Client) RESTClient() rest.Interface

RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.

func (*ConfigmanagementV1Client) Repos

func (*ConfigmanagementV1Client) Syncs

type HierarchyConfigExpansion

type HierarchyConfigExpansion interface{}

type HierarchyConfigInterface

type HierarchyConfigInterface interface {
	Create(ctx context.Context, hierarchyConfig *v1.HierarchyConfig, opts metav1.CreateOptions) (*v1.HierarchyConfig, error)
	Update(ctx context.Context, hierarchyConfig *v1.HierarchyConfig, opts metav1.UpdateOptions) (*v1.HierarchyConfig, error)
	Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
	Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.HierarchyConfig, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.HierarchyConfigList, error)
	Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.HierarchyConfig, err error)
	HierarchyConfigExpansion
}

HierarchyConfigInterface has methods to work with HierarchyConfig resources.

type HierarchyConfigsGetter

type HierarchyConfigsGetter interface {
	HierarchyConfigs() HierarchyConfigInterface
}

HierarchyConfigsGetter has a method to return a HierarchyConfigInterface. A group's client should implement this interface.

type NamespaceConfigExpansion

type NamespaceConfigExpansion interface{}

type NamespaceConfigInterface

type NamespaceConfigInterface interface {
	Create(ctx context.Context, namespaceConfig *v1.NamespaceConfig, opts metav1.CreateOptions) (*v1.NamespaceConfig, error)
	Update(ctx context.Context, namespaceConfig *v1.NamespaceConfig, opts metav1.UpdateOptions) (*v1.NamespaceConfig, error)
	UpdateStatus(ctx context.Context, namespaceConfig *v1.NamespaceConfig, opts metav1.UpdateOptions) (*v1.NamespaceConfig, error)
	Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
	Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.NamespaceConfig, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.NamespaceConfigList, error)
	Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.NamespaceConfig, err error)
	NamespaceConfigExpansion
}

NamespaceConfigInterface has methods to work with NamespaceConfig resources.

type NamespaceConfigsGetter

type NamespaceConfigsGetter interface {
	NamespaceConfigs() NamespaceConfigInterface
}

NamespaceConfigsGetter has a method to return a NamespaceConfigInterface. A group's client should implement this interface.

type NamespaceSelectorExpansion

type NamespaceSelectorExpansion interface{}

type NamespaceSelectorInterface

type NamespaceSelectorInterface interface {
	Create(ctx context.Context, namespaceSelector *v1.NamespaceSelector, opts metav1.CreateOptions) (*v1.NamespaceSelector, error)
	Update(ctx context.Context, namespaceSelector *v1.NamespaceSelector, opts metav1.UpdateOptions) (*v1.NamespaceSelector, error)
	Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
	Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.NamespaceSelector, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.NamespaceSelectorList, error)
	Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.NamespaceSelector, err error)
	NamespaceSelectorExpansion
}

NamespaceSelectorInterface has methods to work with NamespaceSelector resources.

type NamespaceSelectorsGetter

type NamespaceSelectorsGetter interface {
	NamespaceSelectors() NamespaceSelectorInterface
}

NamespaceSelectorsGetter has a method to return a NamespaceSelectorInterface. A group's client should implement this interface.

type RepoExpansion

type RepoExpansion interface{}

type RepoInterface

type RepoInterface interface {
	Create(ctx context.Context, repo *v1.Repo, opts metav1.CreateOptions) (*v1.Repo, error)
	Update(ctx context.Context, repo *v1.Repo, opts metav1.UpdateOptions) (*v1.Repo, error)
	UpdateStatus(ctx context.Context, repo *v1.Repo, opts metav1.UpdateOptions) (*v1.Repo, error)
	Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
	Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.Repo, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.RepoList, error)
	Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.Repo, err error)
	RepoExpansion
}

RepoInterface has methods to work with Repo resources.

type ReposGetter

type ReposGetter interface {
	Repos() RepoInterface
}

ReposGetter has a method to return a RepoInterface. A group's client should implement this interface.

type SyncExpansion

type SyncExpansion interface{}

type SyncInterface

type SyncInterface interface {
	Create(ctx context.Context, sync *v1.Sync, opts metav1.CreateOptions) (*v1.Sync, error)
	Update(ctx context.Context, sync *v1.Sync, opts metav1.UpdateOptions) (*v1.Sync, error)
	UpdateStatus(ctx context.Context, sync *v1.Sync, opts metav1.UpdateOptions) (*v1.Sync, error)
	Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
	Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1.Sync, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.SyncList, error)
	Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.Sync, err error)
	SyncExpansion
}

SyncInterface has methods to work with Sync resources.

type SyncsGetter

type SyncsGetter interface {
	Syncs() SyncInterface
}

SyncsGetter has a method to return a SyncInterface. A group's client should implement this interface.

Directories

Path Synopsis
Package fake has the automatically generated clients.
Package fake has the automatically generated clients.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL