v1

package
v0.16.8 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2022 License: Apache-2.0 Imports: 8 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 AkashV1Client

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

AkashV1Client is used to interact with features provided by the akash.network group.

func New

New creates a new AkashV1Client for the given RESTClient.

func NewForConfig

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

NewForConfig creates a new AkashV1Client for the given config.

func NewForConfigOrDie

func NewForConfigOrDie(c *rest.Config) *AkashV1Client

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

func (*AkashV1Client) Manifests

func (c *AkashV1Client) Manifests(namespace string) ManifestInterface

func (*AkashV1Client) ProviderHosts added in v0.14.0

func (c *AkashV1Client) ProviderHosts(namespace string) ProviderHostInterface

func (*AkashV1Client) RESTClient

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

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

type AkashV1Interface

type AkashV1Interface interface {
	RESTClient() rest.Interface
	ManifestsGetter
	ProviderHostsGetter
}

type ManifestExpansion

type ManifestExpansion interface{}

type ManifestInterface

type ManifestInterface interface {
	Create(ctx context.Context, manifest *v1.Manifest, opts metav1.CreateOptions) (*v1.Manifest, error)
	Update(ctx context.Context, manifest *v1.Manifest, opts metav1.UpdateOptions) (*v1.Manifest, error)
	UpdateStatus(ctx context.Context, manifest *v1.Manifest, opts metav1.UpdateOptions) (*v1.Manifest, 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.Manifest, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.ManifestList, 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.Manifest, err error)
	ManifestExpansion
}

ManifestInterface has methods to work with Manifest resources.

type ManifestsGetter

type ManifestsGetter interface {
	Manifests(namespace string) ManifestInterface
}

ManifestsGetter has a method to return a ManifestInterface. A group's client should implement this interface.

type ProviderHostExpansion added in v0.14.0

type ProviderHostExpansion interface{}

type ProviderHostInterface added in v0.14.0

type ProviderHostInterface interface {
	Create(ctx context.Context, providerHost *v1.ProviderHost, opts metav1.CreateOptions) (*v1.ProviderHost, error)
	Update(ctx context.Context, providerHost *v1.ProviderHost, opts metav1.UpdateOptions) (*v1.ProviderHost, error)
	UpdateStatus(ctx context.Context, providerHost *v1.ProviderHost, opts metav1.UpdateOptions) (*v1.ProviderHost, 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.ProviderHost, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1.ProviderHostList, 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.ProviderHost, err error)
	ProviderHostExpansion
}

ProviderHostInterface has methods to work with ProviderHost resources.

type ProviderHostsGetter added in v0.14.0

type ProviderHostsGetter interface {
	ProviderHosts(namespace string) ProviderHostInterface
}

ProviderHostsGetter has a method to return a ProviderHostInterface. 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