types

package
v0.0.0-...-b1f7904 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseApplication

func ParseApplication(input interface{}, app *Application) error

ParseApplication ...

func ParsePipeline

func ParsePipeline(input interface{}, pl *Pipeline) error

ParsePipeline ...

func ParsePipelineTemplate

func ParsePipelineTemplate(input interface{}, pt *PipelineTemplate) error

ParsePipelineTemplate ...

func ParseStage

func ParseStage(input interface{}, stage *Stage) error

ParseStage ...

Types

type Application

type Application struct {
	CloudProviders []string
	Email          string
	InstancePort   int
	Name           string

	// Additional field to API ObJect
	NameCheckResults map[string]*NameCheckResult
}

Application ...

type Applications

type Applications []Application

Applications ...

func (Applications) Len

func (apps Applications) Len() int

Len returns the length of the sotring object

func (Applications) Less

func (apps Applications) Less(i, j int) bool

Less compares the two objects and determine the order

func (Applications) Swap

func (apps Applications) Swap(i, j int)

Swap swaps the two objects

type Cluster

type Cluster struct {
	Account                        string
	Application                    string
	CloudProvider                  string
	Containers                     []*Container
	Deployment                     *Deployment
	DNSPolicy                      string
	InitContainers                 []*InitContainer
	InterestingHealthProviderNames []string
	LoadBalancers                  []string
	Namespace                      string
	NodeSelector                   *NodeSelector
	PodAnnotations                 *PodAnnotations
	Provider                       string
	Region                         string
	ReplicaSetAnnocations          map[string]string
	Stack                          string
	Strategy                       string
	TargetSize                     int
	TerminationGracePeriodSeconds  int
	UseSourceCapacity              bool
	VolumnSources                  []*VolumnSource
}

Cluster ...

type ConfiguredVariables

type ConfiguredVariables map[string]interface{}

ConfiguredVariables ...

type Container

type Container struct{}

Container ...

type Deployment

type Deployment struct{}

Deployment ...

type InitContainer

type InitContainer struct{}

InitContainer ...

type Metadata

type Metadata struct {
	Description string
	Name        string
	Owner       string
	Scopes      []string
}

Metadata ...

type Moniker

type Moniker map[string]interface{}

Moniker ...

type NameCheckResult

type NameCheckResult struct {
	Valid bool
	Error error
}

type NodeSelector

type NodeSelector struct{}

NodeSelector ...

type Pipeline

type Pipeline struct {
	App             string
	ID              string
	LastyModifiedBy string
	Name            string
	Stages          []*Stage
	Template        *Template
	Triggers        []*Trigger

	// Additional
	V1                  bool
	ConfiguredVariables ConfiguredVariables
}

Pipeline ...

type PipelineTemplate

type PipelineTemplate struct {
	LastModifiedBy string
	ID             string
	Metadata       *Metadata
	Pipeline       *Pipeline
	Protect        bool
	Schema         string
	Tag            string
	Variables      []*Variable
	UpdateTs       string
}

PipelineTemplate ...

type PodAnnotations

type PodAnnotations struct{}

PodAnnotations ...

type Stage

type Stage struct {
	Clusters []*Cluster
	Name     string
	RefID    string
	Type     string
}

Stage ...

type Template

type Template struct {
	ArtifactAccount string
	Reference       string
	Type            string
}

Template ...

type Trigger

type Trigger struct {
	Account      string
	Enabled      bool
	Organization string
	Registory    string
	Repository   string
	Type         string
}

Trigger ...

type Variable

type Variable struct {
	DefaultValue interface{}
	Description  string
	Name         string
	Type         string
}

Variable ...

type VolumnSource

type VolumnSource struct{}

VolumnSource ...

Jump to

Keyboard shortcuts

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