Documentation ¶
Index ¶
- func APIKeyValueToLabel(apiKeyValues []*api.KeyValue) map[string]string
- func APIMetricsToCore(metrics []*api.Metric) v1.Metrics
- func APIParameterOptionToInternal(option *api.ParameterOption) *v1.ParameterOption
- func APIParameterOptionsToInternal(options []*api.ParameterOption) []*v1.ParameterOption
- func APIParameterToInternal(param *api.Parameter) *v1.Parameter
- func LabelToKeyValue(label *v1.Label) *api.KeyValue
- func LabelsToKeyValues(labels []*v1.Label) []*api.KeyValue
- func MappingToKeyValue(mapping map[string]string) []*api.KeyValue
- func MetricsToAPI(metrics v1.Metrics) []*api.Metric
- func ParameterOptionToAPI(option *v1.ParameterOption) *api.ParameterOption
- func ParameterOptionsToAPI(options []*v1.ParameterOption) []*api.ParameterOption
- func ParameterToAPI(param v1.Parameter) *api.Parameter
- func ParametersToAPI(params []v1.Parameter) []*api.Parameter
- func TimestampToAPIString(ts *time.Time) string
- func WorkflowExecutionStatisticsReportToAPI(report *v1.WorkflowExecutionStatisticReport) *api.WorkflowExecutionStatisticReport
- func WorkspaceStatisticsReportToAPI(report *v1.WorkspaceStatisticReport) *api.WorkspaceStatisticReport
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func APIMetricsToCore ¶ added in v0.16.0
APIMetricsToCore converts []*api.Metric to v1.Metrics
func APIParameterOptionToInternal ¶ added in v0.8.0
func APIParameterOptionToInternal(option *api.ParameterOption) *v1.ParameterOption
func APIParameterOptionsToInternal ¶ added in v0.8.0
func APIParameterOptionsToInternal(options []*api.ParameterOption) []*v1.ParameterOption
func APIParameterToInternal ¶ added in v0.8.0
func LabelToKeyValue ¶ added in v0.15.0
LabelToKeyValue converts a *v1.Label to *api.Label
func LabelsToKeyValues ¶ added in v0.15.0
LabelsToKeyValues converts []*v1.Label to []*api.Label
func MetricsToAPI ¶ added in v0.16.0
MetricsToAPI converts Metrics to the API version
func ParameterOptionToAPI ¶
func ParameterOptionToAPI(option *v1.ParameterOption) *api.ParameterOption
func ParameterOptionsToAPI ¶
func ParameterOptionsToAPI(options []*v1.ParameterOption) []*api.ParameterOption
func ParameterToAPI ¶
ParameterToAPI converts a v1.Parameter to a *api.Parameter
func TimestampToAPIString ¶ added in v0.12.0
TimestampToAPIString converts a *time.Time to an API string in the RFC3339 format if ts is nil, an empty string is returned
func WorkflowExecutionStatisticsReportToAPI ¶ added in v0.13.0
func WorkflowExecutionStatisticsReportToAPI(report *v1.WorkflowExecutionStatisticReport) *api.WorkflowExecutionStatisticReport
WorkflowExecutionStatisticsReportToAPI converts v1.WorkflowExecutionStatisticReport to api.WorkflowExecutionStatisticReport
func WorkspaceStatisticsReportToAPI ¶ added in v0.13.0
func WorkspaceStatisticsReportToAPI(report *v1.WorkspaceStatisticReport) *api.WorkspaceStatisticReport
WorkspaceStatisticsReportToAPI converts v1.WorkspaceStatisticReport to api.WorkspaceStatisticReport
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.