actions

package
v0.6.2 Latest Latest
Warning

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

Go to latest
Published: May 23, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Action

type Action interface {
	GetKey() string
	Type() string
	// contains filtered or unexported methods
}

func UnmarshalActionJSON

func UnmarshalActionJSON(data []byte) (Action, error)

type Actions

type Actions []Action

func (Actions) MarshalJSON

func (as Actions) MarshalJSON() ([]byte, error)

func (*Actions) UnmarshalJSON

func (as *Actions) UnmarshalJSON(data []byte) error

type CreateConnectionAction

type CreateConnectionAction struct {
	Key            string              `json:"key"`
	Connection     sdktypes.Connection `json:"connection"`
	ProjectKey     string              `json:"project"`
	IntegrationKey string              `json:"integration"`
}

func (CreateConnectionAction) GetKey

func (a CreateConnectionAction) GetKey() string

func (CreateConnectionAction) Type

func (a CreateConnectionAction) Type() string

type CreateEnvAction

type CreateEnvAction struct {
	Key        string       `json:"key"`
	ProjectKey string       `json:"project"`
	Env        sdktypes.Env `json:"env"`
}

func (CreateEnvAction) GetKey

func (a CreateEnvAction) GetKey() string

func (CreateEnvAction) Type

func (a CreateEnvAction) Type() string

type CreateProjectAction

type CreateProjectAction struct {
	Key     string           `json:"key"`
	Project sdktypes.Project `json:"project"`
}

func (CreateProjectAction) GetKey

func (a CreateProjectAction) GetKey() string

func (CreateProjectAction) Type

func (a CreateProjectAction) Type() string

type CreateTriggerAction

type CreateTriggerAction struct {
	Key           string           `json:"key"`
	ConnectionKey string           `json:"connection"`
	EnvKey        string           `json:"env"`
	Trigger       sdktypes.Trigger `json:"trigger"`
}

func (CreateTriggerAction) GetKey

func (a CreateTriggerAction) GetKey() string

func (CreateTriggerAction) Type

func (a CreateTriggerAction) Type() string

type DeleteConnectionAction

type DeleteConnectionAction struct {
	Key          string                `json:"key"`
	ConnectionID sdktypes.ConnectionID `json:"connection_id"`
}

func (DeleteConnectionAction) GetKey

func (a DeleteConnectionAction) GetKey() string

func (DeleteConnectionAction) Type

func (a DeleteConnectionAction) Type() string

type DeleteEnvAction

type DeleteEnvAction struct {
	Key   string         `json:"key"`
	EnvID sdktypes.EnvID `json:"env_id"`
}

func (DeleteEnvAction) GetKey

func (a DeleteEnvAction) GetKey() string

func (DeleteEnvAction) Type

func (a DeleteEnvAction) Type() string

type DeleteTriggerAction

type DeleteTriggerAction struct {
	Key       string             `json:"key"`
	TriggerID sdktypes.TriggerID `json:"trigger_id"`
}

func (DeleteTriggerAction) GetKey

func (a DeleteTriggerAction) GetKey() string

func (DeleteTriggerAction) Type

func (a DeleteTriggerAction) Type() string

type DeleteVarAction added in v0.5.0

type DeleteVarAction struct {
	Key     string              `json:"key"`
	ScopeID sdktypes.VarScopeID `json:"scope_id"`
	Name    string              `json:"var_name"`
}

func (DeleteVarAction) GetKey added in v0.5.0

func (a DeleteVarAction) GetKey() string

func (DeleteVarAction) Type added in v0.5.0

func (a DeleteVarAction) Type() string

type SetVarAction added in v0.5.0

type SetVarAction struct {
	Key        string       `json:"key"`
	Env        string       `json:"env,omitempty"`
	Connection string       `json:"connection,omitempty"`
	Var        sdktypes.Var `json:"var"`
}

func (SetVarAction) GetKey added in v0.5.0

func (a SetVarAction) GetKey() string

func (SetVarAction) Type added in v0.5.0

func (a SetVarAction) Type() string

type UpdateConnectionAction

type UpdateConnectionAction struct {
	Key        string              `json:"key"`
	Connection sdktypes.Connection `json:"connection"`
}

func (UpdateConnectionAction) GetKey

func (a UpdateConnectionAction) GetKey() string

func (UpdateConnectionAction) Type

func (a UpdateConnectionAction) Type() string

type UpdateEnvAction

type UpdateEnvAction struct {
	Key string       `json:"key"`
	Env sdktypes.Env `json:"env"`
}

func (UpdateEnvAction) GetKey

func (a UpdateEnvAction) GetKey() string

func (UpdateEnvAction) Type

func (a UpdateEnvAction) Type() string

type UpdateProjectAction

type UpdateProjectAction struct {
	Key     string           `json:"key"`
	Project sdktypes.Project `json:"project"`
}

func (UpdateProjectAction) GetKey

func (a UpdateProjectAction) GetKey() string

func (UpdateProjectAction) Type

func (a UpdateProjectAction) Type() string

type UpdateTriggerAction

type UpdateTriggerAction struct {
	Key           string           `json:"key"`
	ConnectionKey string           `json:"connection"`
	EnvKey        string           `json:"env"`
	Trigger       sdktypes.Trigger `json:"trigger"`
}

func (UpdateTriggerAction) GetKey

func (a UpdateTriggerAction) GetKey() string

func (UpdateTriggerAction) Type

func (a UpdateTriggerAction) Type() string

Jump to

Keyboard shortcuts

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