Documentation ¶
Index ¶
- func FailPipeline(ctx context.Context, etcdClient *etcd.Client, ...) error
- func GetLimitsResourceListFromPipeline(pipelineInfo *pps.PipelineInfo) (*v1.ResourceList, error)
- func GetRequestsResourceListFromPipeline(pipelineInfo *pps.PipelineInfo) (*v1.ResourceList, error)
- func LookupUser(name string) (_ *user.User, retErr error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FailPipeline ¶ added in v1.6.4
func FailPipeline(ctx context.Context, etcdClient *etcd.Client, pipelinesCollection col.Collection, pipelineName string, reason string) error
FailPipeline updates the pipeline's state to failed and sets the failure reason
func GetLimitsResourceListFromPipeline ¶ added in v1.6.5
func GetLimitsResourceListFromPipeline(pipelineInfo *pps.PipelineInfo) (*v1.ResourceList, error)
GetLimitsResourceListFromPipeline returns a list of resources that the pipeline, maximally is limited to.
func GetRequestsResourceListFromPipeline ¶ added in v1.6.5
func GetRequestsResourceListFromPipeline(pipelineInfo *pps.PipelineInfo) (*v1.ResourceList, error)
GetRequestsResourceListFromPipeline returns a list of resources that the pipeline, minimally requires.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.