Documentation
¶
Index ¶
- type Client
- func (p *Client) ConfigMaps(namespace string) v12.ConfigMapInterface
- func (p *Client) CronJobs(namespace string) v1beta1.CronJobInterface
- func (p *Client) DaemonSets(namespace string) v1.DaemonSetInterface
- func (p *Client) Deployments(namespace string) v1.DeploymentInterface
- func (c *Client) Do(fn Func) error
- func (p *Client) Endpoints(namespace string) v12.EndpointsInterface
- func (p *Client) Events(namespace string) v12.EventInterface
- func (p *Client) GetLogs(ctx context.Context, opts *LogOpts) (io.ReadCloser, error)
- func (p *Client) Ingresses(namespace string) v14.IngressInterface
- func (p *Client) Jobs(namespace string) v13.JobInterface
- func (p *Client) Namespaces() v12.NamespaceInterface
- func (p *Client) Nodes() v12.NodeInterface
- func (p *Client) PersistentVolumeClaims(namespace string) v12.PersistentVolumeClaimInterface
- func (p *Client) PersistentVolumes() v12.PersistentVolumeInterface
- func (p *Client) Pods(namespace string) v12.PodInterface
- func (p *Client) ReplicaSets(namespace string) v1.ReplicaSetInterface
- func (p *Client) ResourceQuotas(namespace string) v12.ResourceQuotaInterface
- func (p *Client) Secrets(namespace string) v12.SecretInterface
- func (p *Client) ServiceAccounts(namespace string) v12.ServiceAccountInterface
- func (p *Client) Services(namespace string) v12.ServiceInterface
- func (p *Client) StatefulSets(namespace string) v1.StatefulSetInterface
- type Func
- type LogOpts
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
}
Client is a kubernetes client
func NewInClusterClient ¶
NewInClusterClient returns a client for use when inside the kubernetes cluster
func NewOutOfClusterClient ¶
NewOutOfClusterClient returns a client for use when not inside the kubernetes cluster
func (*Client) ConfigMaps ¶
func (p *Client) ConfigMaps(namespace string) v12.ConfigMapInterface
ConfigMaps returns an interface for managing k8s config maps
func (*Client) CronJobs ¶
func (p *Client) CronJobs(namespace string) v1beta1.CronJobInterface
CronJobs returns an interface for managing k8s cronjobs
func (*Client) DaemonSets ¶
func (p *Client) DaemonSets(namespace string) v1.DaemonSetInterface
DaemonSets returns an interface for managing k8s daemonsets
func (*Client) Deployments ¶
func (p *Client) Deployments(namespace string) v1.DeploymentInterface
Deployments returns an interface for managing k8s deployments
func (*Client) Endpoints ¶
func (p *Client) Endpoints(namespace string) v12.EndpointsInterface
Endpoints returns an interface for managing k8s endpoints
func (*Client) Events ¶
func (p *Client) Events(namespace string) v12.EventInterface
Events returns an interface for managing k8s events
func (*Client) Ingresses ¶
func (p *Client) Ingresses(namespace string) v14.IngressInterface
Ingresses returns an interface for managing k8s ingresses
func (*Client) Jobs ¶
func (p *Client) Jobs(namespace string) v13.JobInterface
Jobs returns an interface for managing k8s jobs
func (*Client) Namespaces ¶
func (p *Client) Namespaces() v12.NamespaceInterface
Namespaces returns an interface for managing k8s namespaces
func (*Client) Nodes ¶
func (p *Client) Nodes() v12.NodeInterface
Nodes returns an interface for managing k8s nodes
func (*Client) PersistentVolumeClaims ¶
func (p *Client) PersistentVolumeClaims(namespace string) v12.PersistentVolumeClaimInterface
PersistentVolumeClaims returns an interface for managing k8s persistant volume claims
func (*Client) PersistentVolumes ¶
func (p *Client) PersistentVolumes() v12.PersistentVolumeInterface
PersistentVolumes returns an interface for managing k8s persistant volumes
func (*Client) Pods ¶
func (p *Client) Pods(namespace string) v12.PodInterface
Pods returns an interface for managing k8s pods
func (*Client) ReplicaSets ¶
func (p *Client) ReplicaSets(namespace string) v1.ReplicaSetInterface
ReplicaSets returns an interface for managing k8s replicasets
func (*Client) ResourceQuotas ¶
func (p *Client) ResourceQuotas(namespace string) v12.ResourceQuotaInterface
ResourceQuotas returns an interface for managing k8s resource quotas
func (*Client) Secrets ¶
func (p *Client) Secrets(namespace string) v12.SecretInterface
Secrets returns an interface for managing k8s secrets
func (*Client) ServiceAccounts ¶
func (p *Client) ServiceAccounts(namespace string) v12.ServiceAccountInterface
ServiceAccounts returns an interface for managing k8s service accounts
func (*Client) Services ¶
func (p *Client) Services(namespace string) v12.ServiceInterface
Services returns an interface for managing k8s services
func (*Client) StatefulSets ¶
func (p *Client) StatefulSets(namespace string) v1.StatefulSetInterface
StatefulSets returns an interface for managing k8s statefulsets