Documentation
¶
Index ¶
- type Client
- func (c *Client) CanRunUserInitiatedJobs(ctx context.Context) (bool, error)
- func (c *Client) CancelInAllNamespaces(ctx context.Context) error
- func (c *Client) ForNamespace(ctx context.Context, arg0 string) (int64, error)
- func (c *Client) GetNamespace(ctx context.Context) (string, error)
- func (c *Client) GetPendingJobReason(ctx context.Context, arg0 int32) (int32, error)
- func (c *Client) GetPendingJobReasons(ctx context.Context, arg0 int32) (int64, error)
- func (c *Client) GetPendingJobReasonsHistory(ctx context.Context, arg0 int32) (int64, 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 wraps the gRPC JobSchedulerService client.
func NewClient ¶
func NewClient(cc grpc.ClientConnInterface) *Client
NewClient creates a new job client.
func (*Client) CanRunUserInitiatedJobs ¶
CanRunUserInitiatedJobs calls the CanRunUserInitiatedJobs RPC.
func (*Client) CancelInAllNamespaces ¶
CancelInAllNamespaces calls the CancelInAllNamespaces RPC.
func (*Client) ForNamespace ¶
ForNamespace calls the ForNamespace RPC.
func (*Client) GetNamespace ¶
GetNamespace calls the GetNamespace RPC.
func (*Client) GetPendingJobReason ¶
GetPendingJobReason calls the GetPendingJobReason RPC.
func (*Client) GetPendingJobReasons ¶
GetPendingJobReasons calls the GetPendingJobReasons RPC.
Click to show internal directories.
Click to hide internal directories.