ci

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_ci_ci_proto protoreflect.FileDescriptor
View Source
var File_ci_codebuild_proto protoreflect.FileDescriptor
View Source
var File_ci_concourse_proto protoreflect.FileDescriptor
View Source
var File_ci_gcb_proto protoreflect.FileDescriptor
View Source
var File_ci_jenkins_proto protoreflect.FileDescriptor
View Source
var File_ci_travis_proto protoreflect.FileDescriptor
View Source
var File_ci_wercker_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Ci

type Ci struct {
	Gcb       *GoogleCloudBuild `protobuf:"bytes,1,opt,name=gcb,proto3" json:"gcb,omitempty"`
	Codebuild *CodeBuild        `protobuf:"bytes,2,opt,name=codebuild,proto3" json:"codebuild,omitempty"`
	Concourse *Concourse        `protobuf:"bytes,3,opt,name=concourse,proto3" json:"concourse,omitempty"`
	Jenkins   *Jenkins          `protobuf:"bytes,4,opt,name=jenkins,proto3" json:"jenkins,omitempty"`
	Travis    *Travis           `protobuf:"bytes,5,opt,name=travis,proto3" json:"travis,omitempty"`
	Wercker   *Wercker          `protobuf:"bytes,6,opt,name=wercker,proto3" json:"wercker,omitempty"`
	// contains filtered or unexported fields
}

Configuration for integration with continuous integration systems.

func (*Ci) Descriptor deprecated

func (*Ci) Descriptor() ([]byte, []int)

Deprecated: Use Ci.ProtoReflect.Descriptor instead.

func (*Ci) GetCodebuild

func (x *Ci) GetCodebuild() *CodeBuild

func (*Ci) GetConcourse

func (x *Ci) GetConcourse() *Concourse

func (*Ci) GetGcb

func (x *Ci) GetGcb() *GoogleCloudBuild

func (*Ci) GetJenkins

func (x *Ci) GetJenkins() *Jenkins

func (*Ci) GetTravis

func (x *Ci) GetTravis() *Travis

func (*Ci) GetWercker

func (x *Ci) GetWercker() *Wercker

func (*Ci) ProtoMessage

func (*Ci) ProtoMessage()

func (*Ci) ProtoReflect

func (x *Ci) ProtoReflect() protoreflect.Message

func (*Ci) Reset

func (x *Ci) Reset()

func (*Ci) String

func (x *Ci) String() string

type CodeBuild

type CodeBuild struct {

	// Whether AWS CodeBuild is enabled.
	Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// The list of configured AWS CodeBuild accounts.
	Accounts []*CodeBuildAccount `protobuf:"bytes,2,rep,name=accounts,proto3" json:"accounts,omitempty"`
	// Your AWS Access Key ID. If not provided, Spinnaker will try to find AWS
	// credentials as described at
	// http://docs.aws.amazon.com/sdk-for-java/v1/developer-guide/credentials.html#credentials-default
	AccessKeyId string `protobuf:"bytes,3,opt,name=accessKeyId,proto3" json:"accessKeyId,omitempty"`
	// Your AWS Secret Key.
	SecretAccessKey string `protobuf:"bytes,4,opt,name=secretAccessKey,proto3" json:"secretAccessKey,omitempty"`
	// contains filtered or unexported fields
}

Configuration for AWS CodeBuild.

func (*CodeBuild) Descriptor deprecated

func (*CodeBuild) Descriptor() ([]byte, []int)

Deprecated: Use CodeBuild.ProtoReflect.Descriptor instead.

func (*CodeBuild) GetAccessKeyId

func (x *CodeBuild) GetAccessKeyId() string

func (*CodeBuild) GetAccounts

func (x *CodeBuild) GetAccounts() []*CodeBuildAccount

func (*CodeBuild) GetEnabled

func (x *CodeBuild) GetEnabled() bool

func (*CodeBuild) GetSecretAccessKey

func (x *CodeBuild) GetSecretAccessKey() string

func (*CodeBuild) ProtoMessage

func (*CodeBuild) ProtoMessage()

func (*CodeBuild) ProtoReflect

func (x *CodeBuild) ProtoReflect() protoreflect.Message

func (*CodeBuild) Reset

func (x *CodeBuild) Reset()

func (*CodeBuild) String

func (x *CodeBuild) String() string

type CodeBuildAccount

type CodeBuildAccount struct {

	// The name of the account.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The AWS account ID that will be used to trigger CodeBuild builds.
	AccountId string `protobuf:"bytes,2,opt,name=accountId,proto3" json:"accountId,omitempty"`
	// If set, Spinnaker will configure a credentials provider that uses the AWS
	// Security Token Service to assume the specified role.
	AssumeRole string `protobuf:"bytes,3,opt,name=assumeRole,proto3" json:"assumeRole,omitempty"`
	//  (Required) The AWS region in which your CodeBuild projects live.
	Region string `protobuf:"bytes,4,opt,name=region,proto3" json:"region,omitempty"`
	// contains filtered or unexported fields
}

Configuration for an AWS CodeBuild account.

func (*CodeBuildAccount) Descriptor deprecated

func (*CodeBuildAccount) Descriptor() ([]byte, []int)

Deprecated: Use CodeBuildAccount.ProtoReflect.Descriptor instead.

func (*CodeBuildAccount) GetAccountId

func (x *CodeBuildAccount) GetAccountId() string

func (*CodeBuildAccount) GetAssumeRole

func (x *CodeBuildAccount) GetAssumeRole() string

func (*CodeBuildAccount) GetName

func (x *CodeBuildAccount) GetName() string

func (*CodeBuildAccount) GetRegion

func (x *CodeBuildAccount) GetRegion() string

func (*CodeBuildAccount) ProtoMessage

func (*CodeBuildAccount) ProtoMessage()

func (*CodeBuildAccount) ProtoReflect

func (x *CodeBuildAccount) ProtoReflect() protoreflect.Message

func (*CodeBuildAccount) Reset

func (x *CodeBuildAccount) Reset()

func (*CodeBuildAccount) String

func (x *CodeBuildAccount) String() string

type Concourse

type Concourse struct {

	// Whether Concourse is enabled.
	Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// The list of configured Concourse accounts.
	Masters []*ConcourseAccount `protobuf:"bytes,2,rep,name=masters,proto3" json:"masters,omitempty"`
	// contains filtered or unexported fields
}

Configuration for Concourse.

func (*Concourse) Descriptor deprecated

func (*Concourse) Descriptor() ([]byte, []int)

Deprecated: Use Concourse.ProtoReflect.Descriptor instead.

func (*Concourse) GetEnabled

func (x *Concourse) GetEnabled() bool

func (*Concourse) GetMasters

func (x *Concourse) GetMasters() []*ConcourseAccount

func (*Concourse) ProtoMessage

func (*Concourse) ProtoMessage()

func (*Concourse) ProtoReflect

func (x *Concourse) ProtoReflect() protoreflect.Message

func (*Concourse) Reset

func (x *Concourse) Reset()

func (*Concourse) String

func (x *Concourse) String() string

type ConcourseAccount

type ConcourseAccount struct {

	// The name of the account.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// (Required) The username of the Concourse user to authenticate as.
	Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"`
	// (Required) The password of the Concourse user to authenticate as.
	Password string `protobuf:"bytes,3,opt,name=password,proto3" json:"password,omitempty"`
	// (Required) The URL at which your Concourse search is reachable.
	Url string `protobuf:"bytes,4,opt,name=url,proto3" json:"url,omitempty"`
	// Fiat permissions configuration. A user must have at least one of the READ
	// roles in order to view this build account or use it as a trigger source.
	// A user must have at least one of the WRITE roles in order to run jobs on
	// this build account.
	Permissions *client.Permissions `protobuf:"bytes,5,opt,name=permissions,proto3" json:"permissions,omitempty"`
	// contains filtered or unexported fields
}

Configuration for a Concourse account.

func (*ConcourseAccount) Descriptor deprecated

func (*ConcourseAccount) Descriptor() ([]byte, []int)

Deprecated: Use ConcourseAccount.ProtoReflect.Descriptor instead.

func (*ConcourseAccount) GetName

func (x *ConcourseAccount) GetName() string

func (*ConcourseAccount) GetPassword

func (x *ConcourseAccount) GetPassword() string

func (*ConcourseAccount) GetPermissions

func (x *ConcourseAccount) GetPermissions() *client.Permissions

func (*ConcourseAccount) GetUrl

func (x *ConcourseAccount) GetUrl() string

func (*ConcourseAccount) GetUsername

func (x *ConcourseAccount) GetUsername() string

func (*ConcourseAccount) ProtoMessage

func (*ConcourseAccount) ProtoMessage()

func (*ConcourseAccount) ProtoReflect

func (x *ConcourseAccount) ProtoReflect() protoreflect.Message

func (*ConcourseAccount) Reset

func (x *ConcourseAccount) Reset()

func (*ConcourseAccount) String

func (x *ConcourseAccount) String() string

type GoogleCloudBuild

type GoogleCloudBuild struct {

	// Whether the Google Cloud Build provider is enabled.
	Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// The list of configured Google Cloud Build accounts.
	Accounts []*GoogleCloudBuildAccount `protobuf:"bytes,2,rep,name=accounts,proto3" json:"accounts,omitempty"`
	// contains filtered or unexported fields
}

Configuration for the Google Cloud Build Provider.

func (*GoogleCloudBuild) Descriptor deprecated

func (*GoogleCloudBuild) Descriptor() ([]byte, []int)

Deprecated: Use GoogleCloudBuild.ProtoReflect.Descriptor instead.

func (*GoogleCloudBuild) GetAccounts

func (x *GoogleCloudBuild) GetAccounts() []*GoogleCloudBuildAccount

func (*GoogleCloudBuild) GetEnabled

func (x *GoogleCloudBuild) GetEnabled() bool

func (*GoogleCloudBuild) ProtoMessage

func (*GoogleCloudBuild) ProtoMessage()

func (*GoogleCloudBuild) ProtoReflect

func (x *GoogleCloudBuild) ProtoReflect() protoreflect.Message

func (*GoogleCloudBuild) Reset

func (x *GoogleCloudBuild) Reset()

func (*GoogleCloudBuild) String

func (x *GoogleCloudBuild) String() string

type GoogleCloudBuildAccount

type GoogleCloudBuildAccount struct {

	// The name of the account.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The name of the Google Cloud Platform project in which to trigger and monitor builds.
	Project string `protobuf:"bytes,2,opt,name=project,proto3" json:"project,omitempty"`
	// The name of the Pub/Sub subscription on which to listen for build changes.
	SubscriptionName string `protobuf:"bytes,3,opt,name=subscriptionName,proto3" json:"subscriptionName,omitempty"`
	// The path to a JSON service account that Spinnaker will use as
	// credentials. This is only needed if Spinnaker is not deployed on a
	// Google Compute Engine VM, or needs permissions not afforded to the VM
	// it is running on.
	JsonKey string `protobuf:"bytes,4,opt,name=jsonKey,proto3" json:"jsonKey,omitempty"`
	// Fiat permissions configuration.
	Permissions *client.Permissions `protobuf:"bytes,5,opt,name=permissions,proto3" json:"permissions,omitempty"`
	// contains filtered or unexported fields
}

Configuration for a Google Cloud Build account.

func (*GoogleCloudBuildAccount) Descriptor deprecated

func (*GoogleCloudBuildAccount) Descriptor() ([]byte, []int)

Deprecated: Use GoogleCloudBuildAccount.ProtoReflect.Descriptor instead.

func (*GoogleCloudBuildAccount) GetJsonKey

func (x *GoogleCloudBuildAccount) GetJsonKey() string

func (*GoogleCloudBuildAccount) GetName

func (x *GoogleCloudBuildAccount) GetName() string

func (*GoogleCloudBuildAccount) GetPermissions

func (x *GoogleCloudBuildAccount) GetPermissions() *client.Permissions

func (*GoogleCloudBuildAccount) GetProject

func (x *GoogleCloudBuildAccount) GetProject() string

func (*GoogleCloudBuildAccount) GetSubscriptionName

func (x *GoogleCloudBuildAccount) GetSubscriptionName() string

func (*GoogleCloudBuildAccount) ProtoMessage

func (*GoogleCloudBuildAccount) ProtoMessage()

func (*GoogleCloudBuildAccount) ProtoReflect

func (x *GoogleCloudBuildAccount) ProtoReflect() protoreflect.Message

func (*GoogleCloudBuildAccount) Reset

func (x *GoogleCloudBuildAccount) Reset()

func (*GoogleCloudBuildAccount) String

func (x *GoogleCloudBuildAccount) String() string

type Jenkins

type Jenkins struct {

	// Whether Jenkins is enabled.
	Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// The list of configured Jenkins accounts.
	Masters []*JenkinsAccount `protobuf:"bytes,2,rep,name=masters,proto3" json:"masters,omitempty"`
	// contains filtered or unexported fields
}

Configuration for Jenkins.

func (*Jenkins) Descriptor deprecated

func (*Jenkins) Descriptor() ([]byte, []int)

Deprecated: Use Jenkins.ProtoReflect.Descriptor instead.

func (*Jenkins) GetEnabled

func (x *Jenkins) GetEnabled() bool

func (*Jenkins) GetMasters

func (x *Jenkins) GetMasters() []*JenkinsAccount

func (*Jenkins) ProtoMessage

func (*Jenkins) ProtoMessage()

func (*Jenkins) ProtoReflect

func (x *Jenkins) ProtoReflect() protoreflect.Message

func (*Jenkins) Reset

func (x *Jenkins) Reset()

func (*Jenkins) String

func (x *Jenkins) String() string

type JenkinsAccount

type JenkinsAccount struct {

	// The name of the account.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// (Required) The username of the Jenkins user to authenticate as.
	Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"`
	// (Required) The password of the Jenkins user to authenticate as.
	Password string `protobuf:"bytes,3,opt,name=password,proto3" json:"password,omitempty"`
	// (Required) The address at which the Jenkins server is reachable.
	Address string `protobuf:"bytes,4,opt,name=address,proto3" json:"address,omitempty"`
	// Whether or not to negotiate CSRF tokens when calling Jenkins.
	Csrf *wrappers.BoolValue `protobuf:"bytes,5,opt,name=csrf,proto3" json:"csrf,omitempty"`
	// Fiat permissions configuration. A user must have at least one of the READ
	// roles in order to view this build account or use it as a trigger source.
	// A user must have at least one of the WRITE roles in order to run jobs on
	// this build account.
	Permissions *client.Permissions `protobuf:"bytes,6,opt,name=permissions,proto3" json:"permissions,omitempty"`
	// contains filtered or unexported fields
}

Configuration for a Jenkins account.

func (*JenkinsAccount) Descriptor deprecated

func (*JenkinsAccount) Descriptor() ([]byte, []int)

Deprecated: Use JenkinsAccount.ProtoReflect.Descriptor instead.

func (*JenkinsAccount) GetAddress

func (x *JenkinsAccount) GetAddress() string

func (*JenkinsAccount) GetCsrf

func (x *JenkinsAccount) GetCsrf() *wrappers.BoolValue

func (*JenkinsAccount) GetName

func (x *JenkinsAccount) GetName() string

func (*JenkinsAccount) GetPassword

func (x *JenkinsAccount) GetPassword() string

func (*JenkinsAccount) GetPermissions

func (x *JenkinsAccount) GetPermissions() *client.Permissions

func (*JenkinsAccount) GetUsername

func (x *JenkinsAccount) GetUsername() string

func (*JenkinsAccount) ProtoMessage

func (*JenkinsAccount) ProtoMessage()

func (*JenkinsAccount) ProtoReflect

func (x *JenkinsAccount) ProtoReflect() protoreflect.Message

func (*JenkinsAccount) Reset

func (x *JenkinsAccount) Reset()

func (*JenkinsAccount) String

func (x *JenkinsAccount) String() string

type Travis

type Travis struct {

	// Whether Travis is enabled.
	Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// The list of configured Travis accounts.
	Masters []*TravisAccount `protobuf:"bytes,2,rep,name=masters,proto3" json:"masters,omitempty"`
	// contains filtered or unexported fields
}

Configuration for Travis.

func (*Travis) Descriptor deprecated

func (*Travis) Descriptor() ([]byte, []int)

Deprecated: Use Travis.ProtoReflect.Descriptor instead.

func (*Travis) GetEnabled

func (x *Travis) GetEnabled() bool

func (*Travis) GetMasters

func (x *Travis) GetMasters() []*TravisAccount

func (*Travis) ProtoMessage

func (*Travis) ProtoMessage()

func (*Travis) ProtoReflect

func (x *Travis) ProtoReflect() protoreflect.Message

func (*Travis) Reset

func (x *Travis) Reset()

func (*Travis) String

func (x *Travis) String() string

type TravisAccount

type TravisAccount struct {

	// The name of the account.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// (Required) The address of the Travis API (https://api.travis-ci.org).
	Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
	// (Required) The base URL to the Travis UI (https://travis-ci.org).
	BaseUrl string `protobuf:"bytes,3,opt,name=baseUrl,proto3" json:"baseUrl,omitempty"`
	// The GitHub token with which to authenticate against Travis.
	GithubToken string `protobuf:"bytes,4,opt,name=githubToken,proto3" json:"githubToken,omitempty"`
	// Fiat permissions configuration. A user must have at least one of the READ
	// roles in order to view this build account or use it as a trigger source.
	// A user must have at least one of the WRITE roles in order to run jobs on
	// this build account.
	Permissions *client.Permissions `protobuf:"bytes,6,opt,name=permissions,proto3" json:"permissions,omitempty"`
	// contains filtered or unexported fields
}

Configuration for a Travis account.

func (*TravisAccount) Descriptor deprecated

func (*TravisAccount) Descriptor() ([]byte, []int)

Deprecated: Use TravisAccount.ProtoReflect.Descriptor instead.

func (*TravisAccount) GetAddress

func (x *TravisAccount) GetAddress() string

func (*TravisAccount) GetBaseUrl

func (x *TravisAccount) GetBaseUrl() string

func (*TravisAccount) GetGithubToken

func (x *TravisAccount) GetGithubToken() string

func (*TravisAccount) GetName

func (x *TravisAccount) GetName() string

func (*TravisAccount) GetPermissions

func (x *TravisAccount) GetPermissions() *client.Permissions

func (*TravisAccount) ProtoMessage

func (*TravisAccount) ProtoMessage()

func (*TravisAccount) ProtoReflect

func (x *TravisAccount) ProtoReflect() protoreflect.Message

func (*TravisAccount) Reset

func (x *TravisAccount) Reset()

func (*TravisAccount) String

func (x *TravisAccount) String() string

type Wercker

type Wercker struct {

	// Whether Wercker is enabled.
	Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// The list of configured Wercker accounts.
	Masters []*WerckerAccount `protobuf:"bytes,2,rep,name=masters,proto3" json:"masters,omitempty"`
	// contains filtered or unexported fields
}

Configuration for Wercker.

func (*Wercker) Descriptor deprecated

func (*Wercker) Descriptor() ([]byte, []int)

Deprecated: Use Wercker.ProtoReflect.Descriptor instead.

func (*Wercker) GetEnabled

func (x *Wercker) GetEnabled() bool

func (*Wercker) GetMasters

func (x *Wercker) GetMasters() []*WerckerAccount

func (*Wercker) ProtoMessage

func (*Wercker) ProtoMessage()

func (*Wercker) ProtoReflect

func (x *Wercker) ProtoReflect() protoreflect.Message

func (*Wercker) Reset

func (x *Wercker) Reset()

func (*Wercker) String

func (x *Wercker) String() string

type WerckerAccount

type WerckerAccount struct {

	// The name of the account.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// (Required) The address at which your Wercker instance is reachable.
	Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
	// The personal token of the Wercker user to authenticate as.
	Token string `protobuf:"bytes,3,opt,name=token,proto3" json:"token,omitempty"`
	// The username of the Wercker user to authenticate as.
	User string `protobuf:"bytes,4,opt,name=user,proto3" json:"user,omitempty"`
	// Fiat permissions configuration. A user must have at least one of the READ
	// roles in order to view this build account or use it as a trigger source.
	// A user must have at least one of the WRITE roles in order to run jobs on
	// this build account.
	Permissions *client.Permissions `protobuf:"bytes,5,opt,name=permissions,proto3" json:"permissions,omitempty"`
	// contains filtered or unexported fields
}

Configuration for a Wercker account.

func (*WerckerAccount) Descriptor deprecated

func (*WerckerAccount) Descriptor() ([]byte, []int)

Deprecated: Use WerckerAccount.ProtoReflect.Descriptor instead.

func (*WerckerAccount) GetAddress

func (x *WerckerAccount) GetAddress() string

func (*WerckerAccount) GetName

func (x *WerckerAccount) GetName() string

func (*WerckerAccount) GetPermissions

func (x *WerckerAccount) GetPermissions() *client.Permissions

func (*WerckerAccount) GetToken

func (x *WerckerAccount) GetToken() string

func (*WerckerAccount) GetUser

func (x *WerckerAccount) GetUser() string

func (*WerckerAccount) ProtoMessage

func (*WerckerAccount) ProtoMessage()

func (*WerckerAccount) ProtoReflect

func (x *WerckerAccount) ProtoReflect() protoreflect.Message

func (*WerckerAccount) Reset

func (x *WerckerAccount) Reset()

func (*WerckerAccount) String

func (x *WerckerAccount) String() string

Jump to

Keyboard shortcuts

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