Documentation ¶
Index ¶
- func AddEndpointToJob(j *batchv1.Job, endpoint string)
- func AddUIDToJob(j *batchv1.Job, uid uuid.UUID)
- func DeleteJob(ctx context.Context, cl JobDeleter, uid uuid.UUID) error
- func GetEndpointFromJob(j *batchv1.Job) (string, error)
- func GetUIDFromJob(j *batchv1.Job) (uuid.UUID, error)
- func NewClient(inCluster bool) (*kubernetes.Clientset, error)
- func NewJob(uid uuid.UUID, endpoint string, numPods, numRequests, numConcurrent uint, ...) *batchv1.Job
- type ConfigType
- type JobDeleter
- type JobLister
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddEndpointToJob ¶
Types ¶
type ConfigType ¶
type ConfigType string
const ( ConfigTypeInCluster ConfigType = "in-cluster" ConfigTypeLocalhost ConfigType = "localhost" )
type JobDeleter ¶
Click to show internal directories.
Click to hide internal directories.