lib

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2025 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const PIPELINE = "pipeline"

Variables

This section is empty.

Functions

func NewConflictError

func NewConflictError(err error) error

func NewForbiddenError

func NewForbiddenError(err error) error

func NewInputError

func NewInputError(err error) error

func NewInternalError

func NewInternalError(err error) error

func NewNotFoundError

func NewNotFoundError(err error) error

Types

type ConflictError

type ConflictError struct {
	// contains filtered or unexported fields
}

func (*ConflictError) Error

func (e *ConflictError) Error() string

func (*ConflictError) Unwrap

func (e *ConflictError) Unwrap() error

type DeleteStatus

type DeleteStatus struct {
	Total     int
	Remaining int
	Running   bool
	Errors    []error
}

type ForbiddenError

type ForbiddenError struct {
	// contains filtered or unexported fields
}

func (*ForbiddenError) Error

func (e *ForbiddenError) Error() string

func (*ForbiddenError) Unwrap

func (e *ForbiddenError) Unwrap() error

type InputError

type InputError struct {
	// contains filtered or unexported fields
}

func (*InputError) Error

func (e *InputError) Error() string

func (*InputError) Unwrap

func (e *InputError) Unwrap() error

type InternalError

type InternalError struct {
	// contains filtered or unexported fields
}

func (*InternalError) Error

func (e *InternalError) Error() string

func (*InternalError) Unwrap

func (e *InternalError) Unwrap() error

type KubeService

type KubeService struct {
	Id                string   `json:"id"`
	BaseType          string   `json:"baseType"`
	Name              string   `json:"name"`
	TargetWorkloadIds []string `json:"targetWorkloadIds,omitempty"`
}

type NotFoundError

type NotFoundError struct {
	// contains filtered or unexported fields
}

func (*NotFoundError) Error

func (e *NotFoundError) Error() string

func (*NotFoundError) Unwrap

func (e *NotFoundError) Unwrap() error

type OpenIdToken

type OpenIdToken struct {
	AccessToken      string    `json:"access_token"`
	ExpiresIn        float64   `json:"expires_in"`
	RefreshExpiresIn float64   `json:"refresh_expires_in"`
	RefreshToken     string    `json:"refresh_token"`
	TokenType        string    `json:"token_type"`
	RequestTime      time.Time `json:"-"`
}

type Pipeline

type Pipeline struct {
	pipeModels.Pipeline
}

func (*Pipeline) ToRequest

func (p *Pipeline) ToRequest() *PipelineRequest

type PipelineRequest

type PipelineRequest engineModels.PipelineRequest

type Workload

type Workload struct {
	Id          string            `json:"id"`
	Name        string            `json:"name"`
	ImageUuid   string            `json:"imageUuid,omitempty"`
	Environment map[string]string `json:"environment"`
	Labels      map[string]string `json:"labels"`
}

Jump to

Keyboard shortcuts

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