converter

package
v0.13.0-rc.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 2, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func APIKeyValueToLabel

func APIKeyValueToLabel(apiKeyValues []*api.KeyValue) map[string]string

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 APIParameterToInternal(param *api.Parameter) *v1.Parameter

func MappingToKeyValue

func MappingToKeyValue(mapping map[string]string) []*api.KeyValue

func ParameterOptionToAPI

func ParameterOptionToAPI(option *v1.ParameterOption) *api.ParameterOption

func ParameterOptionsToAPI

func ParameterOptionsToAPI(options []*v1.ParameterOption) []*api.ParameterOption

func ParameterToAPI

func ParameterToAPI(param v1.Parameter) *api.Parameter

ParameterToAPI converts a v1.Parameter to a *api.Parameter

func ParametersToAPI

func ParametersToAPI(params []v1.Parameter) []*api.Parameter

func TimestampToAPIString added in v0.12.0

func TimestampToAPIString(ts *time.Time) string

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL