Versions in this module Expand all Collapse all v2 v2.0.2 Jan 16, 2024 Changes in this version + var InvalidDroneCiKind = errors.New("invalid DroneCiKind") + var InvalidDroneCiPlatformArch = errors.New("invalid DroneCiPlatformArch") + var InvalidDroneCiPlatformOs = errors.New("invalid DroneCiPlatformOs") + var InvalidDroneCiStepFailure = errors.New("invalid DroneCiStepFailure") + var InvalidDroneCiStepPull = errors.New("invalid DroneCiStepPull") + var InvalidDroneCiTriggerEvent = errors.New("invalid DroneCiTriggerEvent") + var InvalidDroneCiTriggerStatus = errors.New("invalid DroneCiTriggerStatus") + var InvalidDroneCiType = errors.New("invalid DroneCiType") + type DroneCiKind uint8 + const DRONE_CI_KIND_UNKNOWN + const DRONE_CI_KIND__pipeline + const DRONE_CI_KIND__secret + const DRONE_CI_KIND__signature + func ParseDroneCiKindFromLabelString(s string) (DroneCiKind, error) + func ParseDroneCiKindFromString(s string) (DroneCiKind, error) + func (DroneCiKind) EnumType() string + func (DroneCiKind) Enums() map[int][]string + func (v *DroneCiKind) UnmarshalText(data []byte) (err error) + func (v DroneCiKind) Label() string + func (v DroneCiKind) MarshalText() ([]byte, error) + func (v DroneCiKind) String() string + type DroneCiPlatformArch uint8 + const DRONE_CI_PLATFORM_ARCH_UNKNOWN + const DRONE_CI_PLATFORM_ARCH__amd64 + const DRONE_CI_PLATFORM_ARCH__arm + const DRONE_CI_PLATFORM_ARCH__arm64 + func ParseDroneCiPlatformArchFromLabelString(s string) (DroneCiPlatformArch, error) + func ParseDroneCiPlatformArchFromString(s string) (DroneCiPlatformArch, error) + func (DroneCiPlatformArch) EnumType() string + func (DroneCiPlatformArch) Enums() map[int][]string + func (v *DroneCiPlatformArch) UnmarshalText(data []byte) (err error) + func (v DroneCiPlatformArch) Label() string + func (v DroneCiPlatformArch) MarshalText() ([]byte, error) + func (v DroneCiPlatformArch) String() string + type DroneCiPlatformOs uint8 + const DRONE_CI_PLATFORM_OS_UNKNOWN + const DRONE_CI_PLATFORM_OS__linux + const DRONE_CI_PLATFORM_OS__windows + func ParseDroneCiPlatformOsFromLabelString(s string) (DroneCiPlatformOs, error) + func ParseDroneCiPlatformOsFromString(s string) (DroneCiPlatformOs, error) + func (DroneCiPlatformOs) EnumType() string + func (DroneCiPlatformOs) Enums() map[int][]string + func (v *DroneCiPlatformOs) UnmarshalText(data []byte) (err error) + func (v DroneCiPlatformOs) Label() string + func (v DroneCiPlatformOs) MarshalText() ([]byte, error) + func (v DroneCiPlatformOs) String() string + type DroneCiStepFailure uint8 + const DRONE_CI_STEP_FAILURE_UNKNOWN + const DRONE_CI_STEP_FAILURE__ignore + func ParseDroneCiStepFailureFromLabelString(s string) (DroneCiStepFailure, error) + func ParseDroneCiStepFailureFromString(s string) (DroneCiStepFailure, error) + func (DroneCiStepFailure) EnumType() string + func (DroneCiStepFailure) Enums() map[int][]string + func (v *DroneCiStepFailure) UnmarshalText(data []byte) (err error) + func (v DroneCiStepFailure) Label() string + func (v DroneCiStepFailure) MarshalText() ([]byte, error) + func (v DroneCiStepFailure) String() string + type DroneCiStepPull uint8 + const DRONE_CI_STEP_PULL_UNKNOWN + const DRONE_CI_STEP_PULL__always + const DRONE_CI_STEP_PULL__if_not_exists + const DRONE_CI_STEP_PULL__never + func ParseDroneCiStepPullFromLabelString(s string) (DroneCiStepPull, error) + func ParseDroneCiStepPullFromString(s string) (DroneCiStepPull, error) + func (DroneCiStepPull) EnumType() string + func (DroneCiStepPull) Enums() map[int][]string + func (v *DroneCiStepPull) UnmarshalText(data []byte) (err error) + func (v DroneCiStepPull) Label() string + func (v DroneCiStepPull) MarshalText() ([]byte, error) + func (v DroneCiStepPull) String() string + type DroneCiTriggerEvent uint8 + const DRONE_CI_TRIGGER_EVENT_UNKNOWN + const DRONE_CI_TRIGGER_EVENT__cron + const DRONE_CI_TRIGGER_EVENT__custom + const DRONE_CI_TRIGGER_EVENT__promote + const DRONE_CI_TRIGGER_EVENT__pull_request + const DRONE_CI_TRIGGER_EVENT__push + const DRONE_CI_TRIGGER_EVENT__rollback + const DRONE_CI_TRIGGER_EVENT__tag + func ParseDroneCiTriggerEventFromLabelString(s string) (DroneCiTriggerEvent, error) + func ParseDroneCiTriggerEventFromString(s string) (DroneCiTriggerEvent, error) + func (DroneCiTriggerEvent) EnumType() string + func (DroneCiTriggerEvent) Enums() map[int][]string + func (v *DroneCiTriggerEvent) UnmarshalText(data []byte) (err error) + func (v DroneCiTriggerEvent) Label() string + func (v DroneCiTriggerEvent) MarshalText() ([]byte, error) + func (v DroneCiTriggerEvent) String() string + type DroneCiTriggerStatus uint8 + const DRONE_CI_TRIGGER_STATUS_UNKNOWN + const DRONE_CI_TRIGGER_STATUS__failure + const DRONE_CI_TRIGGER_STATUS__success + func ParseDroneCiTriggerStatusFromLabelString(s string) (DroneCiTriggerStatus, error) + func ParseDroneCiTriggerStatusFromString(s string) (DroneCiTriggerStatus, error) + func (DroneCiTriggerStatus) EnumType() string + func (DroneCiTriggerStatus) Enums() map[int][]string + func (v *DroneCiTriggerStatus) UnmarshalText(data []byte) (err error) + func (v DroneCiTriggerStatus) Label() string + func (v DroneCiTriggerStatus) MarshalText() ([]byte, error) + func (v DroneCiTriggerStatus) String() string + type DroneCiType uint8 + const DRONE_CI_TYPE_UNKNOWN + const DRONE_CI_TYPE__docker + const DRONE_CI_TYPE__exec + const DRONE_CI_TYPE__kubernetes + const DRONE_CI_TYPE__ssh + func ParseDroneCiTypeFromLabelString(s string) (DroneCiType, error) + func ParseDroneCiTypeFromString(s string) (DroneCiType, error) + func (DroneCiType) EnumType() string + func (DroneCiType) Enums() map[int][]string + func (v *DroneCiType) UnmarshalText(data []byte) (err error) + func (v DroneCiType) Label() string + func (v DroneCiType) MarshalText() ([]byte, error) + func (v DroneCiType) String() string Other modules containing this package gitee.com/eden-framework/eden-framework