types

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: 4 Imported by: 18

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClientV1

type ClientV1 interface {
	Cluster() ClusterClientV1
	Namespace(args ...string) NamespaceClientV1
}

type ClusterClientV1

type ClusterClientV1 interface {
	Node(args ...string) NodeClientV1
	Ingress(args ...string) IngressClientV1
	Discovery(args ...string) DiscoveryClientV1
	Get(ctx context.Context) (*vv1.Cluster, error)
}

type ConfigClientV1

type ConfigClientV1 interface {
	Get(ctx context.Context) (*vv1.Config, error)
	Create(ctx context.Context, opts *rv1.ConfigManifest) (*vv1.Config, error)
	List(ctx context.Context) (*vv1.ConfigList, error)
	Update(ctx context.Context, opts *rv1.ConfigManifest) (*vv1.Config, error)
	Remove(ctx context.Context, opts *rv1.ConfigRemoveOptions) error
}

type DeploymentClientV1

type DeploymentClientV1 interface {
	Pod(args ...string) PodClientV1

	List(ctx context.Context) (*vv1.DeploymentList, error)
	Get(ctx context.Context) (*vv1.Deployment, error)
	Update(ctx context.Context, opts *rv1.DeploymentUpdateOptions) (*vv1.Deployment, error)
}

type DiscoveryClientV1

type DiscoveryClientV1 interface {
	List(ctx context.Context) (*vv1.DiscoveryList, error)
	Get(ctx context.Context) (*vv1.Discovery, error)
	Connect(ctx context.Context, opts *rv1.DiscoveryConnectOptions) error
	SetStatus(ctx context.Context, opts *rv1.DiscoveryStatusOptions) (*vv1.DiscoveryManifest, error)
}

type EventsClientV1

type EventsClientV1 interface {
}

type IngressClientV1

type IngressClientV1 interface {
	List(ctx context.Context) (*vv1.IngressList, error)
	Get(ctx context.Context) (*vv1.Ingress, error)
	Connect(ctx context.Context, opts *rv1.IngressConnectOptions) error
	SetStatus(ctx context.Context, opts *rv1.IngressStatusOptions) (*vv1.IngressManifest, error)
}

type NamespaceClientV1

type NamespaceClientV1 interface {
	Secret(args ...string) SecretClientV1
	Config(args ...string) ConfigClientV1
	Service(args ...string) ServiceClientV1
	Route(args ...string) RouteClientV1
	Volume(args ...string) VolumeClientV1
	Create(ctx context.Context, opts *rv1.NamespaceManifest) (*vv1.Namespace, error)
	List(ctx context.Context) (*vv1.NamespaceList, error)
	Get(ctx context.Context) (*vv1.Namespace, error)
	Update(ctx context.Context, opts *rv1.NamespaceManifest) (*vv1.Namespace, error)
	Remove(ctx context.Context, opts *rv1.NamespaceRemoveOptions) error
}

type NodeClientV1

type NodeClientV1 interface {
	List(ctx context.Context) (*vv1.NodeList, error)
	Connect(ctx context.Context, opts *rv1.NodeConnectOptions) error
	Get(ctx context.Context) (*vv1.Node, error)
	SetStatus(ctx context.Context, opts *rv1.NodeStatusOptions) (*vv1.NodeManifest, error)
	Remove(ctx context.Context, opts *rv1.NodeRemoveOptions) error
}

type PodClientV1

type PodClientV1 interface {
	List(ctx context.Context) (*vv1.PodList, error)
	Get(ctx context.Context) (*vv1.Pod, error)
	Logs(ctx context.Context, opts *rv1.PodLogsOptions) (io.ReadCloser, error)
}

type RouteClientV1

type RouteClientV1 interface {
	Create(ctx context.Context, opts *rv1.RouteManifest) (*vv1.Route, error)
	List(ctx context.Context) (*vv1.RouteList, error)
	Get(ctx context.Context) (*vv1.Route, error)
	Update(ctx context.Context, opts *rv1.RouteManifest) (*vv1.Route, error)
	Remove(ctx context.Context, opts *rv1.RouteRemoveOptions) error
}

type SecretClientV1

type SecretClientV1 interface {
	Get(ctx context.Context) (*vv1.Secret, error)
	Create(ctx context.Context, opts *rv1.SecretManifest) (*vv1.Secret, error)
	List(ctx context.Context) (*vv1.SecretList, error)
	Update(ctx context.Context, opts *rv1.SecretManifest) (*vv1.Secret, error)
	Remove(ctx context.Context, opts *rv1.SecretRemoveOptions) error
}

type ServiceClientV1

type ServiceClientV1 interface {
	Deployment(args ...string) DeploymentClientV1
	Create(ctx context.Context, opts *rv1.ServiceManifest) (*vv1.Service, error)
	List(ctx context.Context) (*vv1.ServiceList, error)
	Get(ctx context.Context) (*vv1.Service, error)
	Update(ctx context.Context, opts *rv1.ServiceManifest) (*vv1.Service, error)
	Remove(ctx context.Context, opts *rv1.ServiceRemoveOptions) error
	Logs(ctx context.Context, opts *rv1.ServiceLogsOptions) (io.ReadCloser, error)
}

type VolumeClientV1

type VolumeClientV1 interface {
	Create(ctx context.Context, opts *rv1.VolumeManifest) (*vv1.Volume, error)
	List(ctx context.Context) (*vv1.VolumeList, error)
	Get(ctx context.Context) (*vv1.Volume, error)
	Update(ctx context.Context, opts *rv1.VolumeManifest) (*vv1.Volume, error)
	Remove(ctx context.Context, opts *rv1.VolumeRemoveOptions) error
}

Jump to

Keyboard shortcuts

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