models

package
v0.32.0 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2025 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DeploymentTargetKindV1Alpha = "DeploymentTarget"

	ObjectRuleTypeBranchV1Alpha      = "BRANCH"
	ObjectRuleTypeTagV1Alpha         = "TAG"
	ObjectRuleTypePullRequestV1Alpha = "PR"

	ObjectRuleMatchModeAllV1Alpha   = "ALL"
	ObjectRuleMatchModeExactV1Alpha = "EXACT"
	ObjectRuleMatchModeRegexV1Alpha = "REGEX"

	HistoryRequestCursorTypeFirstV1Alpha  = "FIRST"
	HistoryRequestCursorTypeAfterV1Alpha  = "AFTER"
	HistoryRequestCursorTypeBeforeV1Alpha = "BEFORE"
)
View Source
const KindSelfHostedAgentType = "SelfHostedAgentType"

Variables

View Source
var DeploymentTargetCmdAliases = []string{"deployment-target", "deployment-targets", "dt", "dts", "deployment", "deployments"}
View Source
var SelfHostedAgentTypeAssignmentOrigins = []string{
	"assignment_origin_agent",
	"assignment_origin_aws_sts",
}

Functions

This section is empty.

Types

type AgentListV1Alpha added in v0.28.2

type AgentListV1Alpha struct {
	Agents []AgentV1Alpha `json:"agents" yaml:"agents"`
	Cursor string         `json:"cursor" yaml:"cursor"`
}

func NewAgentListV1AlphaFromJson added in v0.28.2

func NewAgentListV1AlphaFromJson(data []byte) (*AgentListV1Alpha, error)

type AgentTypeListV1Alpha added in v0.26.4

type AgentTypeListV1Alpha struct {
	AgentTypes []AgentTypeV1Alpha `json:"agent_types" yaml:"agent_types"`
}

func NewAgentTypeListV1AlphaFromJson added in v0.26.4

func NewAgentTypeListV1AlphaFromJson(data []byte) (*AgentTypeListV1Alpha, error)

type AgentTypeV1Alpha added in v0.26.4

type AgentTypeV1Alpha struct {
	ApiVersion string                   `json:"apiVersion,omitempty" yaml:"apiVersion"`
	Kind       string                   `json:"kind,omitempty" yaml:"kind"`
	Metadata   AgentTypeV1AlphaMetadata `json:"metadata" yaml:"metadata"`
	Spec       AgentTypeV1AlphaSpec     `json:"spec" yaml:"spec"`
	Status     AgentTypeV1AlphaStatus   `json:"status" yaml:"status"`
}

func NewAgentTypeV1Alpha added in v0.26.4

func NewAgentTypeV1Alpha(name string) AgentTypeV1Alpha

func NewAgentTypeV1AlphaFromJson added in v0.26.4

func NewAgentTypeV1AlphaFromJson(data []byte) (*AgentTypeV1Alpha, error)

func NewAgentTypeV1AlphaFromYaml added in v0.26.4

func NewAgentTypeV1AlphaFromYaml(data []byte) (*AgentTypeV1Alpha, error)

func (*AgentTypeV1Alpha) ObjectName added in v0.26.4

func (s *AgentTypeV1Alpha) ObjectName() string

func (*AgentTypeV1Alpha) ToJson added in v0.26.4

func (s *AgentTypeV1Alpha) ToJson() ([]byte, error)

func (*AgentTypeV1Alpha) ToYaml added in v0.26.4

func (s *AgentTypeV1Alpha) ToYaml() ([]byte, error)

type AgentTypeV1AlphaAgentNameSettings added in v0.28.5

type AgentTypeV1AlphaAgentNameSettings struct {
	AssignmentOrigin string              `json:"assignment_origin,omitempty" yaml:"assignment_origin,omitempty"`
	Aws              AgentTypeV1AlphaAws `json:"aws,omitempty" yaml:"aws,omitempty"`
	ReleaseAfter     int64               `json:"release_after" yaml:"release_after"`
}

type AgentTypeV1AlphaAws added in v0.28.5

type AgentTypeV1AlphaAws struct {
	AccountID        string `json:"account_id,omitempty" yaml:"account_id,omitempty"`
	RoleNamePatterns string `json:"role_name_patterns,omitempty" yaml:"role_name_patterns,omitempty"`
}

type AgentTypeV1AlphaMetadata added in v0.26.4

type AgentTypeV1AlphaMetadata struct {
	Name       string      `json:"name,omitempty" yaml:"name,omitempty"`
	CreateTime json.Number `json:"create_time,omitempty" yaml:"create_time,omitempty"`
	UpdateTime json.Number `json:"update_time,omitempty" yaml:"update_time,omitempty"`
}

type AgentTypeV1AlphaSpec added in v0.28.5

type AgentTypeV1AlphaSpec struct {
	AgentNameSettings AgentTypeV1AlphaAgentNameSettings `json:"agent_name_settings" yaml:"agent_name_settings"`
}

type AgentTypeV1AlphaStatus added in v0.26.4

type AgentTypeV1AlphaStatus struct {
	TotalAgentCount   int    `json:"total_agent_count,omitempty" yaml:"total_agent_count,omitempty"`
	RegistrationToken string `json:"registration_token,omitempty" yaml:"registration_token,omitempty"`
}

type AgentV1Alpha added in v0.28.2

type AgentV1Alpha struct {
	ApiVersion string               `json:"apiVersion,omitempty" yaml:"apiVersion"`
	Kind       string               `json:"kind,omitempty" yaml:"kind"`
	Metadata   AgentV1AlphaMetadata `json:"metadata" yaml:"metadata"`
	Status     AgentV1AlphaStatus   `json:"status" yaml:"status"`
}

func NewAgentV1Alpha added in v0.28.2

func NewAgentV1Alpha(name string) AgentV1Alpha

func NewAgentV1AlphaFromJson added in v0.28.2

func NewAgentV1AlphaFromJson(data []byte) (*AgentV1Alpha, error)

func NewAgentV1AlphaFromYaml added in v0.28.2

func NewAgentV1AlphaFromYaml(data []byte) (*AgentV1Alpha, error)

func (*AgentV1Alpha) ObjectName added in v0.28.2

func (s *AgentV1Alpha) ObjectName() string

func (*AgentV1Alpha) ToJson added in v0.28.2

func (s *AgentV1Alpha) ToJson() ([]byte, error)

func (*AgentV1Alpha) ToYaml added in v0.28.2

func (s *AgentV1Alpha) ToYaml() ([]byte, error)

type AgentV1AlphaMetadata added in v0.28.2

type AgentV1AlphaMetadata struct {
	Name        string      `json:"name,omitempty" yaml:"name,omitempty"`
	Type        string      `json:"type,omitempty" yaml:"type,omitempty"`
	ConnectedAt json.Number `json:"connected_at,omitempty" yaml:"connected_at,omitempty"`
	DisabledAt  json.Number `json:"disabled_at,omitempty" yaml:"disabled_at,omitempty"`
	Version     string      `json:"version,omitempty" yaml:"version,omitempty"`
	OS          string      `json:"os,omitempty" yaml:"os,omitempty"`
	Arch        string      `json:"arch,omitempty" yaml:"arch,omitempty"`
	Hostname    string      `json:"hostname,omitempty" yaml:"hostname,omitempty"`
	IPAddress   string      `json:"ip_address,omitempty" yaml:"ip_address,omitempty"`
	PID         json.Number `json:"pid,omitempty" yaml:"pid,omitempty"`
}

type AgentV1AlphaStatus added in v0.28.2

type AgentV1AlphaStatus struct {
	State string `json:"state,omitempty" yaml:"state,omitempty"`
}

type CordonResponseV1Alpha added in v0.28.2

type CordonResponseV1Alpha struct {
	TargetId string `json:"target_id,omitempty" yaml:"target_id,omitempty"`
	Cordoned bool   `json:"cordoned,omitempty" yaml:"cordoned,omitempty"`
}

func NewCordonResponseV1AlphaFromJson added in v0.28.2

func NewCordonResponseV1AlphaFromJson(data []byte) (*CordonResponseV1Alpha, error)

type DashboardListV1Alpha

type DashboardListV1Alpha struct {
	Dashboards []DashboardV1Alpha `json:"dashboards" yaml:"dashboards"`
}

func NewDashboardListV1AlphaFromJson

func NewDashboardListV1AlphaFromJson(data []byte) (*DashboardListV1Alpha, error)

type DashboardV1Alpha

type DashboardV1Alpha struct {
	ApiVersion string `json:"apiVersion,omitempty" yaml:"apiVersion"`
	Kind       string `json:"kind,omitempty" yaml:"kind"`
	Metadata   struct {
		Name       string      `json:"name,omitempty"`
		Title      string      `json:"title,omitempty"`
		Id         string      `json:"id,omitempty"`
		CreateTime json.Number `json:"create_time,omitempty,string" yaml:"create_time,omitempty"`
		UpdateTime json.Number `json:"update_time,omitempty,string" yaml:"update_time,omitempty"`
	} `json:"metadata,omitempty"`

	Spec struct {
		Widgets []struct {
			Name    string            `json:"name,omitempty"`
			Type    string            `json:"type,omitempty"`
			Filters map[string]string `json:"filters,omitempty"`
		} `json:"widgets,omitempty"`
	} `json:"spec,omitempty"`
}

func NewDashboardV1Alpha

func NewDashboardV1Alpha(name string) DashboardV1Alpha

func NewDashboardV1AlphaFromJson

func NewDashboardV1AlphaFromJson(data []byte) (*DashboardV1Alpha, error)

func NewDashboardV1AlphaFromYaml

func NewDashboardV1AlphaFromYaml(data []byte) (*DashboardV1Alpha, error)

func (*DashboardV1Alpha) ObjectName

func (d *DashboardV1Alpha) ObjectName() string

func (*DashboardV1Alpha) ToJson

func (d *DashboardV1Alpha) ToJson() ([]byte, error)

func (*DashboardV1Alpha) ToYaml

func (d *DashboardV1Alpha) ToYaml() ([]byte, error)

type DebugJobV1Alpha added in v0.16.0

type DebugJobV1Alpha struct {
	JobId    string `json:"job_id,omitempty" yaml:"job_id"`
	Duration int    `json:"duration,omitempty,string" yaml:"duration,omitempty"`
}

func NewDebugJobV1Alpha added in v0.16.0

func NewDebugJobV1Alpha(job_id string, duration int) *DebugJobV1Alpha

func (*DebugJobV1Alpha) ToJson added in v0.16.0

func (j *DebugJobV1Alpha) ToJson() ([]byte, error)

type DebugProjectV1Alpha added in v0.27.0

type DebugProjectV1Alpha struct {
	ProjectIdOrName string `json:"project_id_or_name,omitempty" yaml:"project_id_or_name"`
	Duration        int    `json:"duration,omitempty,string" yaml:"duration,omitempty"`
	MachineType     string `json:"machine_type,omitempty" yaml:"machine_type,omitempty"`
}

func NewDebugProjectV1Alpha added in v0.27.0

func NewDebugProjectV1Alpha(project string, duration int, machine string) *DebugProjectV1Alpha

func (*DebugProjectV1Alpha) ToJson added in v0.27.0

func (j *DebugProjectV1Alpha) ToJson() ([]byte, error)

type DeploymentEnvVarV1Alpha added in v0.28.2

type DeploymentEnvVarV1Alpha struct {
	Name  string `json:"name" yaml:"name"`
	Value string `json:"value" yaml:"value"`
}

type DeploymentEnvVarsV1Alpha added in v0.28.2

type DeploymentEnvVarsV1Alpha []*DeploymentEnvVarV1Alpha

type DeploymentTargetCreateRequestV1Alpha added in v0.28.2

type DeploymentTargetCreateRequestV1Alpha struct {
	DeploymentTargetV1Alpha
	UniqueToken string `json:"unique_token" yaml:"-"`
}

func NewDeploymentTargetCreateRequestV1AlphaFromYaml added in v0.28.2

func NewDeploymentTargetCreateRequestV1AlphaFromYaml(data []byte) (*DeploymentTargetCreateRequestV1Alpha, error)

func (*DeploymentTargetCreateRequestV1Alpha) LoadFiles added in v0.28.2

func (DeploymentTargetCreateRequestV1Alpha) ObjectName added in v0.28.2

func (*DeploymentTargetCreateRequestV1Alpha) ToJson added in v0.28.2

func (*DeploymentTargetCreateRequestV1Alpha) ToYaml added in v0.28.2

type DeploymentTargetEnvVarV1Alpha added in v0.28.2

type DeploymentTargetEnvVarV1Alpha struct {
	Name  string        `json:"name" yaml:"name"`
	Value HashedContent `json:"value" yaml:"value"`
}

type DeploymentTargetEnvVarsV1Alpha added in v0.28.2

type DeploymentTargetEnvVarsV1Alpha []*DeploymentTargetEnvVarV1Alpha

type DeploymentTargetFileV1Alpha added in v0.28.2

type DeploymentTargetFileV1Alpha struct {
	Path    string        `json:"path" yaml:"path"`
	Content HashedContent `json:"content" yaml:"content"`
	Source  string        `json:"-" yaml:"source"`
}

func (*DeploymentTargetFileV1Alpha) LoadContent added in v0.28.2

func (f *DeploymentTargetFileV1Alpha) LoadContent() error

type DeploymentTargetFilesV1Alpha added in v0.28.2

type DeploymentTargetFilesV1Alpha []*DeploymentTargetFileV1Alpha

func (*DeploymentTargetFilesV1Alpha) Load added in v0.28.2

type DeploymentTargetListV1Alpha added in v0.28.2

type DeploymentTargetListV1Alpha []*DeploymentTargetV1Alpha

func NewDeploymentTargetListV1AlphaFromJson added in v0.28.2

func NewDeploymentTargetListV1AlphaFromJson(data []byte) (*DeploymentTargetListV1Alpha, error)

type DeploymentTargetMetadataV1Alpha added in v0.28.2

type DeploymentTargetMetadataV1Alpha struct {
	Id             string     `json:"id" yaml:"id"`
	Name           string     `json:"name" yaml:"name"`
	ProjectId      string     `json:"project_id" yaml:"project_id"`
	OrganizationId string     `json:"organization_id" yaml:"organization_id"`
	CreatedBy      string     `json:"created_by,omitempty" yaml:"created_by,omitempty"`
	UpdatedBy      string     `json:"updated_by,omitempty" yaml:"updated_by,omitempty"`
	CreatedAt      *time.Time `json:"created_at,omitempty" yaml:"created_at,omitempty"`
	UpdatedAt      *time.Time `json:"updated_at,omitempty" yaml:"updated_at,omitempty"`
	Description    string     `json:"description" yaml:"description"`
	Url            string     `json:"url" yaml:"url"`
}

type DeploymentTargetSpecV1Alpha added in v0.28.2

type DeploymentTargetSpecV1Alpha struct {
	State              string                          `json:"state" yaml:"state"`
	StateMessage       string                          `json:"state_message" yaml:"state_message"`
	SubjectRules       []*SubjectRuleV1Alpha           `json:"subject_rules" yaml:"subject_rules"`
	ObjectRules        []*ObjectRuleV1Alpha            `json:"object_rules" yaml:"object_rules"`
	LastDeployment     *DeploymentV1Alpha              `json:"last_deployment,omitempty" yaml:"last_deployment,omitempty"`
	Active             bool                            `json:"active" yaml:"active"`
	BookmarkParameter1 string                          `json:"bookmark_parameter1" yaml:"bookmark_parameter1"`
	BookmarkParameter2 string                          `json:"bookmark_parameter2" yaml:"bookmark_parameter2"`
	BookmarkParameter3 string                          `json:"bookmark_parameter3" yaml:"bookmark_parameter3"`
	EnvVars            *DeploymentTargetEnvVarsV1Alpha `json:"env_vars,omitempty" yaml:"env_vars,omitempty"`
	Files              *DeploymentTargetFilesV1Alpha   `json:"files,omitempty" yaml:"files,omitempty"`
}

type DeploymentTargetUpdateRequestV1Alpha added in v0.28.2

type DeploymentTargetUpdateRequestV1Alpha DeploymentTargetCreateRequestV1Alpha

func NewDeploymentTargetUpdateRequestV1AlphaFromYaml added in v0.28.2

func NewDeploymentTargetUpdateRequestV1AlphaFromYaml(data []byte) (*DeploymentTargetUpdateRequestV1Alpha, error)

func (*DeploymentTargetUpdateRequestV1Alpha) LoadFiles added in v0.28.2

func (DeploymentTargetUpdateRequestV1Alpha) ObjectName added in v0.28.2

type DeploymentTargetV1Alpha added in v0.28.2

type DeploymentTargetV1Alpha struct {
	ApiVersion string `json:"-" yaml:"apiVersion"`
	Kind       string `json:"-" yaml:"kind"`

	DeploymentTargetMetadataV1Alpha `yaml:"metadata,omitempty"`
	DeploymentTargetSpecV1Alpha     `yaml:"spec,omitempty"`
}

func NewDeploymentTargetV1AlphaFromJson added in v0.28.2

func NewDeploymentTargetV1AlphaFromJson(data []byte) (*DeploymentTargetV1Alpha, error)

func NewDeploymentTargetV1AlphaFromYaml added in v0.28.2

func NewDeploymentTargetV1AlphaFromYaml(data []byte) (*DeploymentTargetV1Alpha, error)

func (*DeploymentTargetV1Alpha) LoadFiles added in v0.28.2

func (dt *DeploymentTargetV1Alpha) LoadFiles() error

func (*DeploymentTargetV1Alpha) ToJson added in v0.28.2

func (dt *DeploymentTargetV1Alpha) ToJson() ([]byte, error)

func (*DeploymentTargetV1Alpha) ToYaml added in v0.28.2

func (dt *DeploymentTargetV1Alpha) ToYaml() ([]byte, error)

type DeploymentV1Alpha added in v0.28.2

type DeploymentV1Alpha struct {
	Id             string                    `json:"id" yaml:"id"`
	TargetId       string                    `json:"target_id" yaml:"target_id"`
	PrevPipelineId string                    `json:"prev_pipeline_id" yaml:"prev_pipeline_id"`
	PipelineId     string                    `json:"pipeline_id" yaml:"pipeline_id"`
	TriggeredBy    string                    `json:"triggered_by,omitempty" yaml:"triggered_by,omitempty"`
	TriggeredAt    *time.Time                `json:"triggered_at,omitempty" yaml:"triggered_at,omitempty"`
	State          string                    `json:"state" yaml:"state"`
	StateMessage   string                    `json:"state_message" yaml:"state_message"`
	SwitchId       string                    `json:"switch_id" yaml:"switch_id"`
	TargetName     string                    `json:"target_name" yaml:"target_name"`
	EnvVars        *DeploymentEnvVarsV1Alpha `json:"env_vars,omitempty" yaml:"env_vars,omitempty"`
}

type DeploymentsHistoryV1Alpha added in v0.28.2

type DeploymentsHistoryV1Alpha struct {
	Deployments  []DeploymentV1Alpha `json:"deployments,omitempty" yaml:"deployments,omitempty"`
	CursorBefore int64               `json:"cursor_before,omitempty" yaml:"cursor_before,omitempty"`
	CursorAfter  int64               `json:"cursor_after,omitempty" yaml:"cursor_after,omitempty"`
}

func NewDeploymentsHistoryV1AlphaFromJson added in v0.28.2

func NewDeploymentsHistoryV1AlphaFromJson(data []byte) (*DeploymentsHistoryV1Alpha, error)

func (*DeploymentsHistoryV1Alpha) ToYaml added in v0.28.2

func (d *DeploymentsHistoryV1Alpha) ToYaml() ([]byte, error)

type Event added in v0.30.1

type Event struct {
	Timestamp int32  `json:"timestamp"`
	Type      string `json:"event"`
	Output    string `json:"output"`
	Directive string `json:"directive"`
	ExitCode  int32  `json:"exit_code"`
	JobResult string `json:"job_result"`
}

type ForkedPullRequests added in v0.14.0

type ForkedPullRequests struct {
	AllowedSecrets      []string `json:"allowed_secrets,omitempty" yaml:"allowed_secrets,omitempty"`
	AllowedContributors []string `json:"allowed_contributors,omitempty" yaml:"allowed_contributors,omitempty"`
}

type HashedContent added in v0.28.2

type HashedContent string

func (HashedContent) MarshalYAML added in v0.28.2

func (c HashedContent) MarshalYAML() (data interface{}, err error)

func (*HashedContent) UnmarshalYAML added in v0.28.2

func (c *HashedContent) UnmarshalYAML(unmarshal func(interface{}) error) error

type HistoryRequestFiltersV1Alpha added in v0.28.2

type HistoryRequestFiltersV1Alpha struct {
	CursorType  string `json:"cursor_type,omitempty" yaml:"cursor_type,omitempty"`
	CursorValue string `json:"cursor_value,omitempty" yaml:"cursor_value,omitempty"`
	GitRefType  string `json:"git_ref_type,omitempty" yaml:"git_ref_type,omitempty"`
	GitRefLabel string `json:"git_ref_label,omitempty" yaml:"git_ref_label,omitempty"`
	TriggeredBy string `json:"triggered_by,omitempty" yaml:"triggered_by,omitempty"`
	Parameter1  string `json:"parameter1,omitempty" yaml:"parameter1,omitempty"`
	Parameter2  string `json:"parameter2,omitempty" yaml:"parameter2,omitempty"`
	Parameter3  string `json:"parameter3,omitempty" yaml:"parameter3,omitempty"`
}

func (HistoryRequestFiltersV1Alpha) ToURLValues added in v0.28.2

func (hr HistoryRequestFiltersV1Alpha) ToURLValues() (values url.Values, err error)

type JobDebugSSHKeyV1Alpha added in v0.13.0

type JobDebugSSHKeyV1Alpha struct {
	Key string `json:"key,omitempty" yaml:"key"`
}

func NewJobDebugSSHKeyV1AlphaFromJSON added in v0.13.0

func NewJobDebugSSHKeyV1AlphaFromJSON(data []byte) (*JobDebugSSHKeyV1Alpha, error)

type JobListV1Alpha added in v0.7.0

type JobListV1Alpha struct {
	Jobs []JobV1Alpha `json:"jobs" yaml:"jobs"`
}

func NewJobListV1AlphaFromJson added in v0.7.0

func NewJobListV1AlphaFromJson(data []byte) (*JobListV1Alpha, error)

type JobV1Alpha added in v0.7.0

type JobV1Alpha struct {
	ApiVersion string `json:"apiVersion,omitempty" yaml:"apiVersion"`
	Kind       string `json:"kind,omitempty" yaml:"kind"`

	Metadata *JobV1AlphaMetadata `json:"metadata,omitempty"`
	Spec     *JobV1AlphaSpec     `json:"spec,omitempty"`
	Status   *JobV1AlphaStatus   `json:"status,omitempty"`
}

func NewJobV1Alpha added in v0.7.0

func NewJobV1Alpha(name string) *JobV1Alpha

func NewJobV1AlphaFromJson added in v0.7.0

func NewJobV1AlphaFromJson(data []byte) (*JobV1Alpha, error)

func NewJobV1AlphaFromYaml added in v0.7.0

func NewJobV1AlphaFromYaml(data []byte) (*JobV1Alpha, error)

func (*JobV1Alpha) AgentName added in v0.26.2

func (j *JobV1Alpha) AgentName() string

func (*JobV1Alpha) IsSelfHosted added in v0.26.2

func (j *JobV1Alpha) IsSelfHosted() bool

func (*JobV1Alpha) ObjectName added in v0.7.0

func (j *JobV1Alpha) ObjectName() string

func (*JobV1Alpha) ToJson added in v0.7.0

func (j *JobV1Alpha) ToJson() ([]byte, error)

func (*JobV1Alpha) ToYaml added in v0.7.0

func (j *JobV1Alpha) ToYaml() ([]byte, error)

type JobV1AlphaAgent added in v0.13.0

type JobV1AlphaAgent struct {
	Machine          JobV1AlphaAgentMachine           `json:"machine,omitempty" yaml:"machine,omitempty"`
	Containers       []JobV1AlphaAgentContainer       `json:"containers,omitempty" yaml:"containers,omitempty"`
	ImagePullSecrets []JobV1AlphaAgentImagePullSecret `json:"image_pull_secrets,omitempty" yaml:"image_pull_secrets,omitempty"`
}

type JobV1AlphaAgentContainer added in v0.13.0

type JobV1AlphaAgentContainer struct {
	Name    string                 `json:"name,omitempty" yaml:"name,omitempty"`
	Image   string                 `json:"image,omitempty" yaml:"image,omitempty"`
	Command string                 `json:"command,omitempty" yaml:"command,omitempty"`
	EnvVars []JobV1AlphaSpecEnvVar `json:"env_vars,omitempty" yaml:"env_vars,omitempty"`
	Secrets []JobV1AlphaSpecSecret `json:"secrets,omitempty" yaml:"secrets,omitempty"`
}

type JobV1AlphaAgentImagePullSecret added in v0.13.0

type JobV1AlphaAgentImagePullSecret struct {
	Name string `json:"name,omitempty" yaml:"name,omitempty"`
}

type JobV1AlphaAgentMachine added in v0.13.0

type JobV1AlphaAgentMachine struct {
	Type    string `json:"type,omitempty" yaml:"type,omitempty"`
	OsImage string `json:"os_image,omitempty" yaml:"os_image,omitempty"`
}

type JobV1AlphaMetadata added in v0.7.1

type JobV1AlphaMetadata struct {
	Name       string      `json:"name,omitempty"`
	Id         string      `json:"id,omitempty"`
	CreateTime json.Number `json:"create_time,omitempty,string" yaml:"create_time,omitempty"`
	UpdateTime json.Number `json:"update_time,omitempty,string" yaml:"update_time,omitempty"`
	StartTime  json.Number `json:"start_time,omitempty,string" yaml:"start_time,omitempty"`
	FinishTime json.Number `json:"finish_time,omitempty,string" yaml:"finish_time,omitempty"`
}

type JobV1AlphaSpec added in v0.7.1

type JobV1AlphaSpec struct {
	Agent                  JobV1AlphaAgent        `json:"agent,omitempty" yaml:"agent,omitempty"`
	Files                  []JobV1AlphaSpecFile   `json:"files,omitempty" yaml:"files,omitempty"`
	EnvVars                []JobV1AlphaSpecEnvVar `json:"env_vars,omitempty" yaml:"env_vars,omitempty"`
	Secrets                []JobV1AlphaSpecSecret `json:"secrets,omitempty" yaml:"secrets,omitempty"`
	Commands               []string               `json:"commands,omitempty" yaml:"commands,omitempty"`
	EpilogueAlwaysCommands []string               `json:"epilogue_always_commands,omitempty" yaml:"epilogue_always_commands,omitempty"`
	EpilogueOnPassCommands []string               `json:"epilogue_on_pass_commands,omitempty" yaml:"epilogue_on_pass_commands,omitempty"`
	EpilogueOnFailCommands []string               `json:"epilogue_on_fail_commands,omitempty" yaml:"epilogue_on_fail_commands,omitempty"`
	ProjectId              string                 `json:"project_id,omitempty" yaml:"project_id,omitempty"`
}

type JobV1AlphaSpecEnvVar added in v0.7.3

type JobV1AlphaSpecEnvVar struct {
	Name  string `json:"name,omitempty" yaml:"name,omitempty"`
	Value string `json:"value,omitempty" yaml:"value,omitempty"`
}

type JobV1AlphaSpecFile added in v0.7.2

type JobV1AlphaSpecFile struct {
	Path    string `json:"path,omitempty" yaml:"path,omitempty"`
	Content string `json:"content,omitempty" yaml:"content,omitempty"`
}

type JobV1AlphaSpecSecret added in v0.7.2

type JobV1AlphaSpecSecret struct {
	Name string `json:"name,omitempty" yaml:"name,omitempty"`
}

type JobV1AlphaStatus added in v0.7.1

type JobV1AlphaStatus struct {
	State  string `json:"state" yaml:"state"`
	Result string `json:"result" yaml:"result"`
	Agent  struct {
		Ip    string `json:"ip" yaml:"ip"`
		Name  string `json:"name" yaml:"name"`
		Ports []struct {
			Name   string `json:"name" yaml:"name"`
			Number int32  `json:"number" yaml:"number"`
		} `json:"ports,omitempty"`
	} `json:"agent,omitempty"`
}

type LogsV1Alpha added in v0.30.1

type LogsV1Alpha struct {
	Events []Event `json:"events"`
}

func NewLogsV1AlphaFromJson added in v0.30.1

func NewLogsV1AlphaFromJson(data []byte) (*LogsV1Alpha, error)

type NotificationListV1Alpha added in v0.8.3

type NotificationListV1Alpha struct {
	Notifications []NotificationV1Alpha `json:"notifications" yaml:"notifications"`
	NextPageToken string                `json:"next_page_token,omitempty" yaml:"next_page_token,omitempty"`
}

func NewNotificationListV1AlphaFromJson added in v0.8.3

func NewNotificationListV1AlphaFromJson(data []byte) (*NotificationListV1Alpha, error)

type NotificationV1Alpha added in v0.8.3

type NotificationV1Alpha struct {
	ApiVersion string `json:"apiVersion,omitempty" yaml:"apiVersion"`
	Kind       string `json:"kind,omitempty" yaml:"kind"`

	Metadata NotificationV1AlphaMetadata `json:"metadata" yaml:"metadata"`
	Spec     NotificationV1AlphaSpec     `json:"spec" yaml:"spec"`
	Status   NotificationV1AlphaStatus   `json:"status" yaml:"status"`
}

func NewNotificationV1Alpha added in v0.8.3

func NewNotificationV1Alpha(name string) *NotificationV1Alpha

func NewNotificationV1AlphaFromJson added in v0.8.3

func NewNotificationV1AlphaFromJson(data []byte) (*NotificationV1Alpha, error)

func NewNotificationV1AlphaFromYaml added in v0.8.3

func NewNotificationV1AlphaFromYaml(data []byte) (*NotificationV1Alpha, error)

func (*NotificationV1Alpha) ObjectName added in v0.8.3

func (n *NotificationV1Alpha) ObjectName() string

func (*NotificationV1Alpha) ToJson added in v0.8.3

func (n *NotificationV1Alpha) ToJson() ([]byte, error)

func (*NotificationV1Alpha) ToYaml added in v0.8.3

func (n *NotificationV1Alpha) ToYaml() ([]byte, error)

type NotificationV1AlphaMetadata added in v0.8.3

type NotificationV1AlphaMetadata struct {
	Name       string      `json:"name,omitempty" yaml:"name,omitempty"`
	Id         string      `json:"id,omitempty" yaml:"id,omitempty"`
	CreateTime json.Number `json:"create_time,omitempty,string" yaml:"create_time,omitempty"`
	UpdateTime json.Number `json:"update_time,omitempty,string" yaml:"update_time,omitempty"`
}

type NotificationV1AlphaSpec added in v0.8.3

type NotificationV1AlphaSpec struct {
	Rules []NotificationV1AlphaSpecRule `json:"rules,omitempty" yaml:"rules,omitempty"`
}

type NotificationV1AlphaSpecRule added in v0.8.3

type NotificationV1AlphaSpecRule struct {
	Name   string                            `json:"name,omitempty" yaml:"name,omitempty"`
	Filter NotificationV1AlphaSpecRuleFilter `json:"filter,omitempty" yaml:"filter,omitempty"`
	Notify NotificationV1AlphaSpecRuleNotify `json:"notify,omitempty" yaml:"notify,omitempty"`
}

type NotificationV1AlphaSpecRuleFilter added in v0.8.3

type NotificationV1AlphaSpecRuleFilter struct {
	Projects  []string `json:"projects,omitempty" yaml:"projects,omitempty"`
	Branches  []string `json:"branches,omitempty" yaml:"branches,omitempty"`
	Pipelines []string `json:"pipelines,omitempty" yaml:"pipelines,omitempty"`
	Blocks    []string `json:"blocks,omitempty" yaml:"blocks,omitempty"`
	States    []string `json:"states,omitempty" yaml:"states,omitempty"`
	Results   []string `json:"results,omitempty" yaml:"results,omitempty"`
}

type NotificationV1AlphaSpecRuleNotify added in v0.8.3

type NotificationV1AlphaSpecRuleNotify struct {
	Slack struct {
		Endpoint string   `json:"endpoint,omitempty" yaml:"endpoint,omitempty"`
		Channels []string `json:"channels,omitempty" yaml:"channels,omitempty"`
		Message  string   `json:"message,omitempty" yaml:"message,omitempty"`
	} `json:"slack,omitempty" yaml:"slack,omitempty"`

	Email struct {
		Subject string   `json:"subject,omitempty" yaml:"subject,omitempty"`
		CC      []string `json:"cc,omitempty" yaml:"cc,omitempty"`
		BCC     []string `json:"bcc,omitempty" yaml:"bcc,omitempty"`
		Content string   `json:"content,omitempty" yaml:"content,omitempty"`
	} `json:"email,omitempty" yaml:"email,omitempty"`

	Webhook struct {
		Endpoint string `json:"endpoint,omitempty" yaml:"endpoint,omitempty"`
		Timeout  int32  `json:"timeout,omitempty" yaml:"timeout,omitempty"`
		Action   string `json:"action,omitempty" yaml:"action,omitempty"`
		Retries  int32  `json:"retries,omitempty" yaml:"retries,omitempty"`
		Secret   string `json:"secret,omitempty" yaml:"secret,omitempty"`
	} `json:"webhook,omitempty" yaml:"webhook,omitempty"`
}

type NotificationV1AlphaStatus added in v0.8.3

type NotificationV1AlphaStatus struct {
	Failures []NotificationV1AlphaStatusFailure `json:"failures,omitempty" yaml:"failures,omitempty"`
}

type NotificationV1AlphaStatusFailure added in v0.8.3

type NotificationV1AlphaStatusFailure struct {
	Time    json.Number `json:"time,omitempty,string" yaml:"time,omitempty"`
	Message string      `json:"message,omitempty,string" yaml:"message,omitempty"`
}

type ObjectRuleV1Alpha added in v0.28.2

type ObjectRuleV1Alpha struct {
	Type      string `json:"type" yaml:"type"`
	MatchMode string `json:"match_mode" yaml:"match_mode"`
	Pattern   string `json:"pattern" yaml:"pattern"`
}

type PipelineFile added in v0.17.0

type PipelineFile struct {
	Path  string `json:"path"`
	Level string `json:"level"`
}

type PipelineV1Alpha added in v0.8.0

type PipelineV1Alpha struct {
	Pipeline struct {
		ID     string `json:"ppl_id"`
		Name   string `json:"name,omitempty"`
		State  string `json:"state,omitempty"`
		Result string `json:"result,omitempty" yaml:"result,omitempty"`
		Reason string `json:"result_reason,omitempty" yaml:"result_reason,omitempty"`
		Error  string `json:"error_description,omitempty"  yaml:"error_description,omitempty"`
	} `json:"pipeline,omitempty"`
	Blocks []PipelineV1AlphaBlock `json:"blocks,omitempty"`
}

func NewPipelineV1AlphaFromJson added in v0.8.0

func NewPipelineV1AlphaFromJson(data []byte) (*PipelineV1Alpha, error)

func (*PipelineV1Alpha) IsDone added in v0.8.0

func (j *PipelineV1Alpha) IsDone() bool

func (*PipelineV1Alpha) ToYaml added in v0.8.0

func (j *PipelineV1Alpha) ToYaml() ([]byte, error)

type PipelineV1AlphaBlock added in v0.8.3

type PipelineV1AlphaBlock struct {
	Name   string                     `json:"name"`
	State  string                     `json:"state"`
	Result string                     `json:"result,omitempty" yaml:"result,omitempty"`
	Reason string                     `json:"result_reason,omitempty" yaml:"result_reason,omitempty"`
	Error  string                     `json:"error_description,omitempty"  yaml:"error_description,omitempty"`
	Jobs   []PipelineV1AlphaBlockJobs `json:"jobs"`
}

type PipelineV1AlphaBlockJobs added in v0.8.3

type PipelineV1AlphaBlockJobs struct {
	Name  string `json:"name"`
	JobID string `json:"job_id"`
}

type PipelinesListV1Alpha added in v0.8.12

type PipelinesListV1Alpha []PplListElemV1Alpha

type PplListElemV1Alpha added in v0.8.12

type PplListElemV1Alpha struct {
	Id        string `json:"ppl_id"`
	Name      string `json:"name"`
	State     string `json:"state"`
	CreatedAt struct {
		Seconds int64 `json:"seconds"`
	} `json:"created_at"`
	Label string `json:"branch_name"`
}

type ProjectListV1Alpha

type ProjectListV1Alpha struct {
	Projects []ProjectV1Alpha `json:"projects" yaml:"projects"`
}

func NewProjectListV1AlphaFromJson

func NewProjectListV1AlphaFromJson(data []byte) (*ProjectListV1Alpha, error)

type ProjectSecretListV1 added in v0.28.0

type ProjectSecretListV1 struct {
	Secrets []ProjectSecretV1 `json:"secrets" yaml:"secrets"`
}

func NewProjectSecretListV1FromJson added in v0.28.0

func NewProjectSecretListV1FromJson(data []byte) (*ProjectSecretListV1, error)

type ProjectSecretV1 added in v0.28.0

type ProjectSecretV1 struct {
	ApiVersion string `json:"apiVersion,omitempty" yaml:"apiVersion"`
	Kind       string `json:"kind,omitempty" yaml:"kind"`

	Metadata ProjectSecretV1Metadata `json:"metadata" yaml:"metadata"`
	Data     ProjectSecretV1Data     `json:"data" yaml:"data"`
}

func NewProjectSecretV1 added in v0.28.0

func NewProjectSecretV1(name string, envVars []ProjectSecretV1EnvVar, files []ProjectSecretV1File) ProjectSecretV1

func NewProjectSecretV1FromJson added in v0.28.0

func NewProjectSecretV1FromJson(data []byte) (*ProjectSecretV1, error)

func NewProjectSecretV1FromYaml added in v0.28.0

func NewProjectSecretV1FromYaml(data []byte) (*ProjectSecretV1, error)

func (*ProjectSecretV1) Editable added in v0.30.0

func (s *ProjectSecretV1) Editable() bool

func (*ProjectSecretV1) ObjectName added in v0.28.0

func (s *ProjectSecretV1) ObjectName() string

func (*ProjectSecretV1) ToJson added in v0.28.0

func (s *ProjectSecretV1) ToJson() ([]byte, error)

func (*ProjectSecretV1) ToYaml added in v0.28.0

func (s *ProjectSecretV1) ToYaml() ([]byte, error)

type ProjectSecretV1Data added in v0.28.0

type ProjectSecretV1Data struct {
	EnvVars []ProjectSecretV1EnvVar `json:"env_vars" yaml:"env_vars"`
	Files   []ProjectSecretV1File   `json:"files" yaml:"files"`
}

type ProjectSecretV1EnvVar added in v0.28.0

type ProjectSecretV1EnvVar struct {
	Name  string `json:"name" yaml:"name"`
	Value string `json:"value" yaml:"value,omitempty"`
}

type ProjectSecretV1File added in v0.28.0

type ProjectSecretV1File struct {
	Path    string `json:"path" yaml:"path"`
	Content string `json:"content" yaml:"content,omitempty"`
}

type ProjectSecretV1Metadata added in v0.28.0

type ProjectSecretV1Metadata struct {
	Name            string      `json:"name,omitempty" yaml:"name,omitempty"`
	Id              string      `json:"id,omitempty" yaml:"id,omitempty"`
	CreateTime      json.Number `json:"create_time,omitempty,string" yaml:"create_time,omitempty"`
	UpdateTime      json.Number `json:"update_time,omitempty,string" yaml:"update_time,omitempty"`
	ProjectIdOrName string      `json:"project_id_or_name,omitempty" yaml:"project_id_or_name,omitempty"`
	ContentIncluded bool        `json:"content_included,omitempty" yaml:"content_included"`
}

type ProjectV1Alpha

type ProjectV1Alpha struct {
	ApiVersion string `json:"apiVersion,omitempty" yaml:"apiVersion"`
	Kind       string `json:"kind,omitempty" yaml:"kind"`
	Metadata   struct {
		Name        string `json:"name,omitempty"`
		Id          string `json:"id,omitempty"`
		Description string `json:"description,omitempty"`
	} `json:"metadata,omitempty"`

	Spec struct {
		Visibility string `json:"visibility,omitempty" yaml:"visibility,omitempty"`
		Repository struct {
			Url                string             `json:"url,omitempty"`
			RunOn              []string           `json:"run_on,omitempty" yaml:"run_on"`
			ForkedPullRequests ForkedPullRequests `json:"forked_pull_requests,omitempty" yaml:"forked_pull_requests,omitempty"`
			PipelineFile       string             `json:"pipeline_file" yaml:"pipeline_file"`
			Status             *Status            `json:"status,omitempty" yaml:"status"`
			Whitelist          Whitelist          `json:"whitelist" yaml:"whitelist"`
			IntegrationType    string             `json:"integration_type" yaml:"integration_type"`
		} `json:"repository,omitempty"`
		Schedulers        []Scheduler `json:"schedulers,omitempty" yaml:"schedulers,omitempty"`
		Tasks             []Task      `json:"tasks,omitempty" yaml:"tasks,omitempty"`
		CustomPermissions *bool       `json:"custom_permissions,omitempty" yaml:"custom_permissions,omitempty"`
		DebugPermissions  []string    `json:"debug_permissions,omitempty" yaml:"debug_permissions,omitempty"`
		AttachPermissions []string    `json:"attach_permissions,omitempty" yaml:"attach_permissions,omitempty"`
	} `json:"spec,omitempty"`
}

func NewProjectV1Alpha

func NewProjectV1Alpha(name string) ProjectV1Alpha

func NewProjectV1AlphaFromJson

func NewProjectV1AlphaFromJson(data []byte) (*ProjectV1Alpha, error)

func NewProjectV1AlphaFromYaml

func NewProjectV1AlphaFromYaml(data []byte) (*ProjectV1Alpha, error)

func (*ProjectV1Alpha) ObjectName

func (p *ProjectV1Alpha) ObjectName() string

func (*ProjectV1Alpha) ToJson

func (p *ProjectV1Alpha) ToJson() ([]byte, error)

func (*ProjectV1Alpha) ToYaml

func (p *ProjectV1Alpha) ToYaml() ([]byte, error)

type Scheduler added in v0.12.0

type Scheduler struct {
	Name         string `json:"name"`
	Id           string `json:"id,omitempty"`
	Branch       string `json:"branch"`
	At           string `json:"at"`
	PipelineFile string `json:"pipeline_file" yaml:"pipeline_file"`
	Status       string `json:"status,omitempty" yaml:"status,omitempty"`
}

type SecretListV1Beta

type SecretListV1Beta struct {
	Secrets []SecretV1Beta `json:"secrets" yaml:"secrets"`
}

func NewSecretListV1BetaFromJson

func NewSecretListV1BetaFromJson(data []byte) (*SecretListV1Beta, error)

type SecretV1Beta

type SecretV1Beta struct {
	ApiVersion string `json:"apiVersion,omitempty" yaml:"apiVersion"`
	Kind       string `json:"kind,omitempty" yaml:"kind"`

	Metadata  SecretV1BetaMetadata   `json:"metadata" yaml:"metadata"`
	Data      SecretV1BetaData       `json:"data" yaml:"data"`
	OrgConfig *SecretV1BetaOrgConfig `json:"org_config,omitempty" yaml:"org_config,omitempty"`
}

func NewSecretV1Beta

func NewSecretV1Beta(name string, envVars []SecretV1BetaEnvVar, files []SecretV1BetaFile) SecretV1Beta

func NewSecretV1BetaFromJson

func NewSecretV1BetaFromJson(data []byte) (*SecretV1Beta, error)

func NewSecretV1BetaFromYaml

func NewSecretV1BetaFromYaml(data []byte) (*SecretV1Beta, error)

func (*SecretV1Beta) Editable added in v0.30.0

func (s *SecretV1Beta) Editable() bool

func (*SecretV1Beta) ObjectName

func (s *SecretV1Beta) ObjectName() string

func (*SecretV1Beta) ToJson

func (s *SecretV1Beta) ToJson() ([]byte, error)

func (*SecretV1Beta) ToYaml

func (s *SecretV1Beta) ToYaml() ([]byte, error)

type SecretV1BetaData added in v0.7.2

type SecretV1BetaData struct {
	EnvVars []SecretV1BetaEnvVar `json:"env_vars" yaml:"env_vars"`
	Files   []SecretV1BetaFile   `json:"files" yaml:"files"`
}

type SecretV1BetaEnvVar added in v0.7.2

type SecretV1BetaEnvVar struct {
	Name  string `json:"name" yaml:"name"`
	Value string `json:"value" yaml:"value,omitempty"`
}

type SecretV1BetaFile added in v0.7.2

type SecretV1BetaFile struct {
	Path    string `json:"path" yaml:"path"`
	Content string `json:"content" yaml:"content,omitempty"`
}

type SecretV1BetaMetadata added in v0.7.2

type SecretV1BetaMetadata struct {
	Name            string      `json:"name,omitempty" yaml:"name,omitempty"`
	Id              string      `json:"id,omitempty" yaml:"id,omitempty"`
	CreateTime      json.Number `json:"create_time,omitempty,string" yaml:"create_time,omitempty"`
	UpdateTime      json.Number `json:"update_time,omitempty,string" yaml:"update_time,omitempty"`
	ContentIncluded bool        `json:"content_included,omitempty" yaml:"content_included"`
}

type SecretV1BetaOrgConfig added in v0.27.0

type SecretV1BetaOrgConfig struct {
	Projects_access string   `json:"projects_access,omitempty" yaml:"projects_access,omitempty"`
	Project_ids     []string `json:"project_ids,omitempty" yaml:"project_ids,omitempty"`
	Debug_access    string   `json:"debug_access,omitempty" yaml:"debug_access,omitempty"`
	Attach_access   string   `json:"attach_access,omitempty" yaml:"attach_access,omitempty"`
}

type Status added in v0.17.0

type Status struct {
	PipelineFiles []PipelineFile `json:"pipeline_files" yaml:"pipeline_files"`
}

type SubjectRuleV1Alpha added in v0.28.2

type SubjectRuleV1Alpha struct {
	Type      string `json:"type" yaml:"type"`
	SubjectId string `json:"subject_id,omitempty" yaml:"subject_id,omitempty"`
	GitLogin  string `json:"git_login,omitempty" yaml:"git_login,omitempty"`
}

type Task added in v0.28.4

type Task struct {
	Name         string          `json:"name"`
	Description  string          `json:"description,omitempty"`
	Scheduled    bool            `json:"scheduled"`
	Id           string          `json:"id,omitempty"`
	Branch       string          `json:"branch,omitempty"`
	At           string          `json:"at,omitempty"`
	PipelineFile string          `json:"pipeline_file" yaml:"pipeline_file,omitempty"`
	Status       string          `json:"status,omitempty" yaml:"status,omitempty"`
	Parameters   []TaskParameter `json:"parameters,omitempty" yaml:"parameters,omitempty"`
}

type TaskParameter added in v0.28.4

type TaskParameter struct {
	Name         string   `json:"name"`
	Required     bool     `json:"required"`
	Description  string   `json:"description,omitempty" yaml:"description,omitempty"`
	DefaultValue string   `json:"default_value,omitempty" yaml:"default_value,omitempty"`
	Options      []string `json:"options,omitempty" yaml:"options,omitempty"`
}

type TroubleshootV1Alpha added in v0.28.1

type TroubleshootV1Alpha struct {
	Workflow map[string]interface{} `json:"workflow,omitempty" yaml:"workflow,omitempty"`
	Project  map[string]interface{} `json:"project,omitempty" yaml:"project,omitempty"`
	Pipeline map[string]interface{} `json:"pipeline,omitempty" yaml:"pipeline,omitempty"`
	Job      map[string]interface{} `json:"job,omitempty" yaml:"job,omitempty"`
	Block    map[string]interface{} `json:"block,omitempty" yaml:"block,omitempty"`
}

func NewTroubleshootV1AlphaFromJson added in v0.28.1

func NewTroubleshootV1AlphaFromJson(data []byte) (*TroubleshootV1Alpha, error)

func (*TroubleshootV1Alpha) ToJson added in v0.28.1

func (j *TroubleshootV1Alpha) ToJson() ([]byte, error)

func (*TroubleshootV1Alpha) ToYaml added in v0.28.1

func (j *TroubleshootV1Alpha) ToYaml() ([]byte, error)

type Whitelist added in v0.18.0

type Whitelist struct {
	Branches []string `json:"branches,omitempty"`
	Tags     []string `json:"tags,omitempty"`
}

type WorkflowListV1Alpha added in v0.8.0

type WorkflowListV1Alpha struct {
	Workflow []WorkflowV1Alpha `json:"workflows" yaml:"projects"`
}

func NewWorkflowListV1AlphaFromJson added in v0.8.0

func NewWorkflowListV1AlphaFromJson(data []byte) (*WorkflowListV1Alpha, error)

type WorkflowSnapshotResponseV1Alpha added in v0.8.15

type WorkflowSnapshotResponseV1Alpha struct {
	WfID  string `json:"wf_id,omitempty" yaml:"id,omitempty"`
	PplID string `json:"ppl_id,omitempty" yaml:"initial_ppl_id,omitempty"`
}

func NewWorkflowSnapshotResponseV1AlphaFromJson added in v0.8.15

func NewWorkflowSnapshotResponseV1AlphaFromJson(data []byte) (*WorkflowSnapshotResponseV1Alpha, error)

type WorkflowV1Alpha added in v0.8.0

type WorkflowV1Alpha struct {
	Id           string `json:"wf_id,omitempty" yaml:"id,omitempty"`
	InitialPplId string `json:"initial_ppl_id,omitempty" yaml:"initial_ppl_id,omitempty"`
	BranchName   string `json:"branch_name,omitempty" yaml:"branch_name,omitempty"`
	CreatedAt    struct {
		Seconds int64 `json:"seconds"`
	} `json:"created_at"`
}

Jump to

Keyboard shortcuts

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