v1

package
v0.1.0-beta1 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2018 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

func New

func New(req *request.RESTClient) *Client

func (*Client) Cluster

func (s *Client) Cluster() types.ClusterClientV1

func (*Client) Namespace

func (s *Client) Namespace(args ...string) types.NamespaceClientV1

type ClusterClient

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

func (*ClusterClient) Discovery

func (cc *ClusterClient) Discovery(args ...string) types.DiscoveryClientV1

func (*ClusterClient) Get

func (cc *ClusterClient) Get(ctx context.Context) (*vv1.Cluster, error)

func (*ClusterClient) Ingress

func (cc *ClusterClient) Ingress(args ...string) types.IngressClientV1

func (*ClusterClient) Node

func (cc *ClusterClient) Node(args ...string) types.NodeClientV1

type ConfigClient

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

func (*ConfigClient) Create

func (sc *ConfigClient) Create(ctx context.Context, opts *rv1.ConfigManifest) (*vv1.Config, error)

func (*ConfigClient) Get

func (sc *ConfigClient) Get(ctx context.Context) (*vv1.Config, error)

func (*ConfigClient) List

func (sc *ConfigClient) List(ctx context.Context) (*vv1.ConfigList, error)

func (*ConfigClient) Remove

func (sc *ConfigClient) Remove(ctx context.Context, opts *rv1.ConfigRemoveOptions) error

func (*ConfigClient) Update

func (sc *ConfigClient) Update(ctx context.Context, opts *rv1.ConfigManifest) (*vv1.Config, error)

type DeploymentClient

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

func (*DeploymentClient) Get

func (*DeploymentClient) List

func (*DeploymentClient) Pod

func (dc *DeploymentClient) Pod(args ...string) types.PodClientV1

func (*DeploymentClient) Update

type DiscoveryClient

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

func (*DiscoveryClient) Connect

func (*DiscoveryClient) Get

func (ic *DiscoveryClient) Get(ctx context.Context) (*vv1.Discovery, error)

func (*DiscoveryClient) List

func (*DiscoveryClient) SetStatus

type EventsClient

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

type IngressClient

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

func (*IngressClient) Connect

func (ic *IngressClient) Connect(ctx context.Context, opts *rv1.IngressConnectOptions) error

func (*IngressClient) Get

func (ic *IngressClient) Get(ctx context.Context) (*vv1.Ingress, error)

func (*IngressClient) List

func (ic *IngressClient) List(ctx context.Context) (*vv1.IngressList, error)

func (*IngressClient) SetStatus

type NamespaceClient

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

func (*NamespaceClient) Config

func (nc *NamespaceClient) Config(args ...string) types.ConfigClientV1

func (*NamespaceClient) Create

func (*NamespaceClient) Get

func (nc *NamespaceClient) Get(ctx context.Context) (*vv1.Namespace, error)

func (*NamespaceClient) List

func (*NamespaceClient) Remove

func (*NamespaceClient) Route

func (nc *NamespaceClient) Route(args ...string) types.RouteClientV1

func (*NamespaceClient) Secret

func (nc *NamespaceClient) Secret(args ...string) types.SecretClientV1

func (*NamespaceClient) Service

func (nc *NamespaceClient) Service(args ...string) types.ServiceClientV1

func (*NamespaceClient) Update

func (*NamespaceClient) Volume

func (nc *NamespaceClient) Volume(args ...string) types.VolumeClientV1

type NodeClient

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

func (NodeClient) Connect

func (nc NodeClient) Connect(ctx context.Context, opts *rv1.NodeConnectOptions) error

func (NodeClient) Get

func (nc NodeClient) Get(ctx context.Context) (*vv1.Node, error)

func (NodeClient) List

func (nc NodeClient) List(ctx context.Context) (*vv1.NodeList, error)

func (NodeClient) Remove

func (nc NodeClient) Remove(ctx context.Context, opts *rv1.NodeRemoveOptions) error

func (NodeClient) SetStatus

func (nc NodeClient) SetStatus(ctx context.Context, opts *rv1.NodeStatusOptions) (*vv1.NodeManifest, error)

type PodClient

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

func (*PodClient) Get

func (pc *PodClient) Get(ctx context.Context) (*vv1.Pod, error)

func (*PodClient) List

func (pc *PodClient) List(ctx context.Context) (*vv1.PodList, error)

func (*PodClient) Logs

func (pc *PodClient) Logs(ctx context.Context, opts *rv1.PodLogsOptions) (io.ReadCloser, error)

type RouteClient

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

func (*RouteClient) Create

func (rc *RouteClient) Create(ctx context.Context, opts *rv1.RouteManifest) (*vv1.Route, error)

func (*RouteClient) Get

func (rc *RouteClient) Get(ctx context.Context) (*vv1.Route, error)

func (*RouteClient) List

func (rc *RouteClient) List(ctx context.Context) (*vv1.RouteList, error)

func (*RouteClient) Remove

func (rc *RouteClient) Remove(ctx context.Context, opts *rv1.RouteRemoveOptions) error

func (*RouteClient) Update

func (rc *RouteClient) Update(ctx context.Context, opts *rv1.RouteManifest) (*vv1.Route, error)

type SecretClient

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

func (*SecretClient) Create

func (sc *SecretClient) Create(ctx context.Context, opts *rv1.SecretManifest) (*vv1.Secret, error)

func (*SecretClient) Get

func (sc *SecretClient) Get(ctx context.Context) (*vv1.Secret, error)

func (*SecretClient) List

func (sc *SecretClient) List(ctx context.Context) (*vv1.SecretList, error)

func (*SecretClient) Remove

func (sc *SecretClient) Remove(ctx context.Context, opts *rv1.SecretRemoveOptions) error

func (*SecretClient) Update

func (sc *SecretClient) Update(ctx context.Context, opts *rv1.SecretManifest) (*vv1.Secret, error)

type ServiceClient

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

func (*ServiceClient) Create

func (sc *ServiceClient) Create(ctx context.Context, opts *rv1.ServiceManifest) (*vv1.Service, error)

func (*ServiceClient) Deployment

func (sc *ServiceClient) Deployment(args ...string) types.DeploymentClientV1

func (*ServiceClient) Get

func (sc *ServiceClient) Get(ctx context.Context) (*vv1.Service, error)

func (*ServiceClient) List

func (sc *ServiceClient) List(ctx context.Context) (*vv1.ServiceList, error)

func (*ServiceClient) Logs

func (*ServiceClient) Remove

func (sc *ServiceClient) Remove(ctx context.Context, opts *rv1.ServiceRemoveOptions) error

func (*ServiceClient) Update

func (sc *ServiceClient) Update(ctx context.Context, opts *rv1.ServiceManifest) (*vv1.Service, error)

type VolumeClient

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

func (*VolumeClient) Create

func (vc *VolumeClient) Create(ctx context.Context, opts *rv1.VolumeManifest) (*vv1.Volume, error)

func (*VolumeClient) Get

func (vc *VolumeClient) Get(ctx context.Context) (*vv1.Volume, error)

func (*VolumeClient) List

func (vc *VolumeClient) List(ctx context.Context) (*vv1.VolumeList, error)

func (*VolumeClient) Remove

func (vc *VolumeClient) Remove(ctx context.Context, opts *rv1.VolumeRemoveOptions) error

func (*VolumeClient) Update

func (vc *VolumeClient) Update(ctx context.Context, opts *rv1.VolumeManifest) (*vv1.Volume, error)

Jump to

Keyboard shortcuts

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