Documentation ¶
Index ¶
- type Client
- func (c *Client) CreateKubernetesWaitingContainer(ctx context.Context, ...) (*kubewaitingcontainerpb.KubernetesWaitingContainer, error)
- func (c *Client) DeleteKubernetesWaitingContainer(ctx context.Context, ...) error
- func (c *Client) GetKubernetesWaitingContainer(ctx context.Context, ...) (*kubewaitingcontainerpb.KubernetesWaitingContainer, error)
- func (c *Client) ListKubernetesWaitingContainers(ctx context.Context, pageSize int, pageToken string) ([]*kubewaitingcontainerpb.KubernetesWaitingContainer, string, 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
}
Client is a KubeWaitingContainers client.
func NewClient ¶
func NewClient(grpcClient kubewaitingcontainerpb.KubeWaitingContainersServiceClient) *Client
NewClient creates a new KubeWaitingContainers client.
func (*Client) CreateKubernetesWaitingContainer ¶
func (c *Client) CreateKubernetesWaitingContainer(ctx context.Context, waitingPod *kubewaitingcontainerpb.KubernetesWaitingContainer) (*kubewaitingcontainerpb.KubernetesWaitingContainer, error)
CreateKubernetesWaitingContainer creates a Kubernetes ephemeral container that is waiting to be created until moderated session conditions are met.
func (*Client) DeleteKubernetesWaitingContainer ¶
func (c *Client) DeleteKubernetesWaitingContainer(ctx context.Context, req *kubewaitingcontainerpb.DeleteKubernetesWaitingContainerRequest) error
DeleteKubernetesWaitingContainer returns a Kubernetes ephemeral container that is waiting to be created until moderated session conditions are met.
func (*Client) GetKubernetesWaitingContainer ¶
func (c *Client) GetKubernetesWaitingContainer(ctx context.Context, req *kubewaitingcontainerpb.GetKubernetesWaitingContainerRequest) (*kubewaitingcontainerpb.KubernetesWaitingContainer, error)
GetKubernetesWaitingContainer returns a Kubernetes ephemeral container that is waiting to be created until moderated session conditions are met.
func (*Client) ListKubernetesWaitingContainers ¶
func (c *Client) ListKubernetesWaitingContainers(ctx context.Context, pageSize int, pageToken string) ([]*kubewaitingcontainerpb.KubernetesWaitingContainer, string, error)
ListKubernetesWaitingContainers lists Kubernetes ephemeral containers that are waiting to be created until moderated session conditions are met.