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 AzureResourceExpansion ¶
type AzureResourceExpansion interface{}
type AzureResourceInterface ¶
type AzureResourceInterface interface { Create(*v1.AzureResource) (*v1.AzureResource, error) Update(*v1.AzureResource) (*v1.AzureResource, error) Delete(name string, options *metav1.DeleteOptions) error DeleteCollection(options *metav1.DeleteOptions, listOptions metav1.ListOptions) error Get(name string, options metav1.GetOptions) (*v1.AzureResource, error) List(opts metav1.ListOptions) (*v1.AzureResourceList, error) Watch(opts metav1.ListOptions) (watch.Interface, error) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1.AzureResource, err error) AzureResourceExpansion }
AzureResourceInterface has methods to work with AzureResource resources.
type AzureResourcesGetter ¶
type AzureResourcesGetter interface {
AzureResources(namespace string) AzureResourceInterface
}
AzureResourcesGetter has a method to return a AzureResourceInterface. A group's client should implement this interface.
type OsmV1Client ¶
type OsmV1Client struct {
// contains filtered or unexported fields
}
OsmV1Client is used to interact with features provided by the osm.osm.k8s.io group.
func New ¶
func New(c rest.Interface) *OsmV1Client
New creates a new OsmV1Client for the given RESTClient.
func NewForConfig ¶
func NewForConfig(c *rest.Config) (*OsmV1Client, error)
NewForConfig creates a new OsmV1Client for the given config.
func NewForConfigOrDie ¶
func NewForConfigOrDie(c *rest.Config) *OsmV1Client
NewForConfigOrDie creates a new OsmV1Client for the given config and panics if there is an error in the config.
func (*OsmV1Client) AzureResources ¶
func (c *OsmV1Client) AzureResources(namespace string) AzureResourceInterface
func (*OsmV1Client) RESTClient ¶
func (c *OsmV1Client) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
type OsmV1Interface ¶
type OsmV1Interface interface { RESTClient() rest.Interface AzureResourcesGetter }