Documentation ¶
Index ¶
- type Client
- type ClusterClient
- type ConfigClient
- func (sc *ConfigClient) Create(ctx context.Context, opts *rv1.ConfigManifest) (*vv1.Config, error)
- func (sc *ConfigClient) Get(ctx context.Context) (*vv1.Config, error)
- func (sc *ConfigClient) List(ctx context.Context) (*vv1.ConfigList, error)
- func (sc *ConfigClient) Remove(ctx context.Context, opts *rv1.ConfigRemoveOptions) error
- func (sc *ConfigClient) Update(ctx context.Context, opts *rv1.ConfigManifest) (*vv1.Config, error)
- type DeploymentClient
- func (dc *DeploymentClient) Get(ctx context.Context) (*vv1.Deployment, error)
- func (dc *DeploymentClient) List(ctx context.Context) (*vv1.DeploymentList, error)
- func (dc *DeploymentClient) Pod(args ...string) types.PodClientV1
- func (dc *DeploymentClient) Update(ctx context.Context, opts *rv1.DeploymentUpdateOptions) (*vv1.Deployment, error)
- type DiscoveryClient
- func (ic *DiscoveryClient) Connect(ctx context.Context, opts *rv1.DiscoveryConnectOptions) error
- func (ic *DiscoveryClient) Get(ctx context.Context) (*vv1.Discovery, error)
- func (ic *DiscoveryClient) List(ctx context.Context) (*vv1.DiscoveryList, error)
- func (ic *DiscoveryClient) SetStatus(ctx context.Context, opts *rv1.DiscoveryStatusOptions) (*vv1.DiscoveryManifest, error)
- type EventsClient
- type IngressClient
- func (ic *IngressClient) Connect(ctx context.Context, opts *rv1.IngressConnectOptions) error
- func (ic *IngressClient) Get(ctx context.Context) (*vv1.Ingress, error)
- func (ic *IngressClient) List(ctx context.Context) (*vv1.IngressList, error)
- func (ic *IngressClient) SetStatus(ctx context.Context, opts *rv1.IngressStatusOptions) (*vv1.IngressManifest, error)
- type NamespaceClient
- func (nc *NamespaceClient) Config(args ...string) types.ConfigClientV1
- func (nc *NamespaceClient) Create(ctx context.Context, opts *rv1.NamespaceManifest) (*vv1.Namespace, error)
- func (nc *NamespaceClient) Get(ctx context.Context) (*vv1.Namespace, error)
- func (nc *NamespaceClient) List(ctx context.Context) (*vv1.NamespaceList, error)
- func (nc *NamespaceClient) Remove(ctx context.Context, opts *rv1.NamespaceRemoveOptions) error
- func (nc *NamespaceClient) Route(args ...string) types.RouteClientV1
- func (nc *NamespaceClient) Secret(args ...string) types.SecretClientV1
- func (nc *NamespaceClient) Service(args ...string) types.ServiceClientV1
- func (nc *NamespaceClient) Update(ctx context.Context, opts *rv1.NamespaceManifest) (*vv1.Namespace, error)
- func (nc *NamespaceClient) Volume(args ...string) types.VolumeClientV1
- type NodeClient
- func (nc NodeClient) Connect(ctx context.Context, opts *rv1.NodeConnectOptions) error
- func (nc NodeClient) Get(ctx context.Context) (*vv1.Node, error)
- func (nc NodeClient) List(ctx context.Context) (*vv1.NodeList, error)
- func (nc NodeClient) Remove(ctx context.Context, opts *rv1.NodeRemoveOptions) error
- func (nc NodeClient) SetStatus(ctx context.Context, opts *rv1.NodeStatusOptions) (*vv1.NodeManifest, error)
- type PodClient
- type RouteClient
- func (rc *RouteClient) Create(ctx context.Context, opts *rv1.RouteManifest) (*vv1.Route, error)
- func (rc *RouteClient) Get(ctx context.Context) (*vv1.Route, error)
- func (rc *RouteClient) List(ctx context.Context) (*vv1.RouteList, error)
- func (rc *RouteClient) Remove(ctx context.Context, opts *rv1.RouteRemoveOptions) error
- func (rc *RouteClient) Update(ctx context.Context, opts *rv1.RouteManifest) (*vv1.Route, error)
- type SecretClient
- func (sc *SecretClient) Create(ctx context.Context, opts *rv1.SecretManifest) (*vv1.Secret, error)
- func (sc *SecretClient) Get(ctx context.Context) (*vv1.Secret, error)
- func (sc *SecretClient) List(ctx context.Context) (*vv1.SecretList, error)
- func (sc *SecretClient) Remove(ctx context.Context, opts *rv1.SecretRemoveOptions) error
- func (sc *SecretClient) Update(ctx context.Context, opts *rv1.SecretManifest) (*vv1.Secret, error)
- type ServiceClient
- func (sc *ServiceClient) Create(ctx context.Context, opts *rv1.ServiceManifest) (*vv1.Service, error)
- func (sc *ServiceClient) Deployment(args ...string) types.DeploymentClientV1
- func (sc *ServiceClient) Get(ctx context.Context) (*vv1.Service, error)
- func (sc *ServiceClient) List(ctx context.Context) (*vv1.ServiceList, error)
- func (sc *ServiceClient) Logs(ctx context.Context, opts *rv1.ServiceLogsOptions) (io.ReadCloser, error)
- func (sc *ServiceClient) Remove(ctx context.Context, opts *rv1.ServiceRemoveOptions) error
- func (sc *ServiceClient) Update(ctx context.Context, opts *rv1.ServiceManifest) (*vv1.Service, error)
- type VolumeClient
- func (vc *VolumeClient) Create(ctx context.Context, opts *rv1.VolumeManifest) (*vv1.Volume, error)
- func (vc *VolumeClient) Get(ctx context.Context) (*vv1.Volume, error)
- func (vc *VolumeClient) List(ctx context.Context) (*vv1.VolumeList, error)
- func (vc *VolumeClient) Remove(ctx context.Context, opts *rv1.VolumeRemoveOptions) error
- func (vc *VolumeClient) Update(ctx context.Context, opts *rv1.VolumeManifest) (*vv1.Volume, error)
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
type ClusterClient ¶
type ClusterClient struct {
// contains filtered or unexported fields
}
func (*ClusterClient) Discovery ¶
func (cc *ClusterClient) Discovery(args ...string) types.DiscoveryClientV1
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) 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 (dc *DeploymentClient) Get(ctx context.Context) (*vv1.Deployment, error)
func (*DeploymentClient) List ¶
func (dc *DeploymentClient) List(ctx context.Context) (*vv1.DeploymentList, error)
func (*DeploymentClient) Pod ¶
func (dc *DeploymentClient) Pod(args ...string) types.PodClientV1
func (*DeploymentClient) Update ¶
func (dc *DeploymentClient) Update(ctx context.Context, opts *rv1.DeploymentUpdateOptions) (*vv1.Deployment, error)
type DiscoveryClient ¶
type DiscoveryClient struct {
// contains filtered or unexported fields
}
func (*DiscoveryClient) Connect ¶
func (ic *DiscoveryClient) Connect(ctx context.Context, opts *rv1.DiscoveryConnectOptions) error
func (*DiscoveryClient) List ¶
func (ic *DiscoveryClient) List(ctx context.Context) (*vv1.DiscoveryList, error)
func (*DiscoveryClient) SetStatus ¶
func (ic *DiscoveryClient) SetStatus(ctx context.Context, opts *rv1.DiscoveryStatusOptions) (*vv1.DiscoveryManifest, error)
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) List ¶
func (ic *IngressClient) List(ctx context.Context) (*vv1.IngressList, error)
func (*IngressClient) SetStatus ¶
func (ic *IngressClient) SetStatus(ctx context.Context, opts *rv1.IngressStatusOptions) (*vv1.IngressManifest, error)
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 (nc *NamespaceClient) Create(ctx context.Context, opts *rv1.NamespaceManifest) (*vv1.Namespace, error)
func (*NamespaceClient) List ¶
func (nc *NamespaceClient) List(ctx context.Context) (*vv1.NamespaceList, error)
func (*NamespaceClient) Remove ¶
func (nc *NamespaceClient) Remove(ctx context.Context, opts *rv1.NamespaceRemoveOptions) error
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 (nc *NamespaceClient) Update(ctx context.Context, opts *rv1.NamespaceManifest) (*vv1.Namespace, error)
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) 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) 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) 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) 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) List ¶
func (sc *ServiceClient) List(ctx context.Context) (*vv1.ServiceList, error)
func (*ServiceClient) Logs ¶
func (sc *ServiceClient) Logs(ctx context.Context, opts *rv1.ServiceLogsOptions) (io.ReadCloser, error)
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) 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)
Click to show internal directories.
Click to hide internal directories.