settings

package
v0.0.0-...-24bc511 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2024 License: Apache-2.0 Imports: 10 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	EmailType_name = map[int32]string{
		0: "EMAIL_TYPE_UNSPECIFIED",
		1: "EMAIL_TYPE_MAILJET",
		2: "EMAIL_TYPE_SMTP",
	}
	EmailType_value = map[string]int32{
		"EMAIL_TYPE_UNSPECIFIED": 0,
		"EMAIL_TYPE_MAILJET":     1,
		"EMAIL_TYPE_SMTP":        2,
	}
)

Enum value maps for EmailType.

View Source
var (
	Plan_name = map[int32]string{
		0: "PLAN_UNSPECIFIED",
		1: "PLAN_FREE",
		2: "PLAN_TEAM",
		3: "PLAN_ENTERPRISE",
	}
	Plan_value = map[string]int32{
		"PLAN_UNSPECIFIED": 0,
		"PLAN_FREE":        1,
		"PLAN_TEAM":        2,
		"PLAN_ENTERPRISE":  3,
	}
)

Enum value maps for Plan.

View Source
var File_api_v1_settings_configuration_proto protoreflect.FileDescriptor
View Source
var File_api_v1_settings_service_proto protoreflect.FileDescriptor
View Source
var File_api_v1_settings_settings_proto protoreflect.FileDescriptor
View Source
var Service_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "api.v1.settings.Service",
	HandlerType: (*ServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetConfiguration",
			Handler:    _Service_GetConfiguration_Handler,
		},
		{
			MethodName: "GetSettings",
			Handler:    _Service_GetSettings_Handler,
		},
		{
			MethodName: "UpdateSettings",
			Handler:    _Service_UpdateSettings_Handler,
		},
		{
			MethodName: "GetLicenseInfo",
			Handler:    _Service_GetLicenseInfo_Handler,
		},
		{
			MethodName: "GetGitStoreStatus",
			Handler:    _Service_GetGitStoreStatus_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "api/v1/settings/service.proto",
}

Service_ServiceDesc is the grpc.ServiceDesc for Service service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterServiceServer

func RegisterServiceServer(s grpc.ServiceRegistrar, srv ServiceServer)

Types

type Client

type Client struct {
	Slack *Slack         `protobuf:"bytes,1,opt,name=slack,proto3" json:"slack,omitempty"`
	Email []*EmailClient `protobuf:"bytes,2,rep,name=email,proto3" json:"email,omitempty"`
	Git   []*Git         `protobuf:"bytes,3,rep,name=git,proto3" json:"git,omitempty"`
	// contains filtered or unexported fields
}

func (*Client) Descriptor deprecated

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

Deprecated: Use Client.ProtoReflect.Descriptor instead.

func (*Client) GetEmail

func (x *Client) GetEmail() []*EmailClient

func (*Client) GetGit

func (x *Client) GetGit() []*Git

func (*Client) GetSlack

func (x *Client) GetSlack() *Slack

func (*Client) ProtoMessage

func (*Client) ProtoMessage()

func (*Client) ProtoReflect

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

func (*Client) Reset

func (x *Client) Reset()

func (*Client) String

func (x *Client) String() string

type Configuration

type Configuration struct {
	Client            *Client               `protobuf:"bytes,1,opt,name=client,proto3" json:"client,omitempty"`
	DockerRegistries  []string              `protobuf:"bytes,2,rep,name=docker_registries,json=dockerRegistries,proto3" json:"docker_registries,omitempty"`
	DefaultEmail      *EmailClient          `protobuf:"bytes,3,opt,name=default_email,json=defaultEmail,proto3" json:"default_email,omitempty"`
	CapsuleExtensions map[string]*Extension `` /* 200-byte string literal not displayed */
	// contains filtered or unexported fields
}

Platform wide static configuration.

func (*Configuration) Descriptor deprecated

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

Deprecated: Use Configuration.ProtoReflect.Descriptor instead.

func (*Configuration) GetCapsuleExtensions

func (x *Configuration) GetCapsuleExtensions() map[string]*Extension

func (*Configuration) GetClient

func (x *Configuration) GetClient() *Client

func (*Configuration) GetDefaultEmail

func (x *Configuration) GetDefaultEmail() *EmailClient

func (*Configuration) GetDockerRegistries

func (x *Configuration) GetDockerRegistries() []string

func (*Configuration) ProtoMessage

func (*Configuration) ProtoMessage()

func (*Configuration) ProtoReflect

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

func (*Configuration) Reset

func (x *Configuration) Reset()

func (*Configuration) String

func (x *Configuration) String() string

type EmailClient

type EmailClient struct {
	Id   string    `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Type EmailType `protobuf:"varint,2,opt,name=type,proto3,enum=api.v1.settings.EmailType" json:"type,omitempty"`
	// contains filtered or unexported fields
}

func (*EmailClient) Descriptor deprecated

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

Deprecated: Use EmailClient.ProtoReflect.Descriptor instead.

func (*EmailClient) GetId

func (x *EmailClient) GetId() string

func (*EmailClient) GetType

func (x *EmailClient) GetType() EmailType

func (*EmailClient) ProtoMessage

func (*EmailClient) ProtoMessage()

func (*EmailClient) ProtoReflect

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

func (*EmailClient) Reset

func (x *EmailClient) Reset()

func (*EmailClient) String

func (x *EmailClient) String() string

type EmailType

type EmailType int32
const (
	EmailType_EMAIL_TYPE_UNSPECIFIED EmailType = 0
	EmailType_EMAIL_TYPE_MAILJET     EmailType = 1
	EmailType_EMAIL_TYPE_SMTP        EmailType = 2
)

func (EmailType) Descriptor

func (EmailType) Descriptor() protoreflect.EnumDescriptor

func (EmailType) Enum

func (x EmailType) Enum() *EmailType

func (EmailType) EnumDescriptor deprecated

func (EmailType) EnumDescriptor() ([]byte, []int)

Deprecated: Use EmailType.Descriptor instead.

func (EmailType) Number

func (x EmailType) Number() protoreflect.EnumNumber

func (EmailType) String

func (x EmailType) String() string

func (EmailType) Type

type Extension

type Extension struct {

	// The schema of the extension, expressed as a json-schema
	// (https://json-schema.org/).
	JsonSchema string `protobuf:"bytes,1,opt,name=json_schema,json=jsonSchema,proto3" json:"json_schema,omitempty"`
	// contains filtered or unexported fields
}

func (*Extension) Descriptor deprecated

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

Deprecated: Use Extension.ProtoReflect.Descriptor instead.

func (*Extension) GetJsonSchema

func (x *Extension) GetJsonSchema() string

func (*Extension) ProtoMessage

func (*Extension) ProtoMessage()

func (*Extension) ProtoReflect

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

func (*Extension) Reset

func (x *Extension) Reset()

func (*Extension) String

func (x *Extension) String() string

type GetConfigurationRequest

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

func (*GetConfigurationRequest) Descriptor deprecated

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

Deprecated: Use GetConfigurationRequest.ProtoReflect.Descriptor instead.

func (*GetConfigurationRequest) ProtoMessage

func (*GetConfigurationRequest) ProtoMessage()

func (*GetConfigurationRequest) ProtoReflect

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

func (*GetConfigurationRequest) Reset

func (x *GetConfigurationRequest) Reset()

func (*GetConfigurationRequest) String

func (x *GetConfigurationRequest) String() string

type GetConfigurationResponse

type GetConfigurationResponse struct {
	Configuration *Configuration `protobuf:"bytes,1,opt,name=configuration,proto3" json:"configuration,omitempty"`
	// contains filtered or unexported fields
}

func (*GetConfigurationResponse) Descriptor deprecated

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

Deprecated: Use GetConfigurationResponse.ProtoReflect.Descriptor instead.

func (*GetConfigurationResponse) GetConfiguration

func (x *GetConfigurationResponse) GetConfiguration() *Configuration

func (*GetConfigurationResponse) ProtoMessage

func (*GetConfigurationResponse) ProtoMessage()

func (*GetConfigurationResponse) ProtoReflect

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

func (*GetConfigurationResponse) Reset

func (x *GetConfigurationResponse) Reset()

func (*GetConfigurationResponse) String

func (x *GetConfigurationResponse) String() string

type GetGitStoreStatusRequest

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

func (*GetGitStoreStatusRequest) Descriptor deprecated

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

Deprecated: Use GetGitStoreStatusRequest.ProtoReflect.Descriptor instead.

func (*GetGitStoreStatusRequest) ProtoMessage

func (*GetGitStoreStatusRequest) ProtoMessage()

func (*GetGitStoreStatusRequest) ProtoReflect

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

func (*GetGitStoreStatusRequest) Reset

func (x *GetGitStoreStatusRequest) Reset()

func (*GetGitStoreStatusRequest) String

func (x *GetGitStoreStatusRequest) String() string

type GetGitStoreStatusResponse

type GetGitStoreStatusResponse struct {
	Repositories []*GetGitStoreStatusResponse_RepoGitStatus    `protobuf:"bytes,1,rep,name=repositories,proto3" json:"repositories,omitempty"`
	Capsules     []*GetGitStoreStatusResponse_CapsuleStatus    `protobuf:"bytes,2,rep,name=capsules,proto3" json:"capsules,omitempty"`
	CapsuleSets  []*GetGitStoreStatusResponse_CapsuleSetStatus `protobuf:"bytes,4,rep,name=capsule_sets,json=capsuleSets,proto3" json:"capsule_sets,omitempty"`
	Errors       []*GetGitStoreStatusResponse_CallbackErr      `protobuf:"bytes,3,rep,name=errors,proto3" json:"errors,omitempty"`
	// contains filtered or unexported fields
}

func (*GetGitStoreStatusResponse) Descriptor deprecated

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

Deprecated: Use GetGitStoreStatusResponse.ProtoReflect.Descriptor instead.

func (*GetGitStoreStatusResponse) GetCapsuleSets

func (*GetGitStoreStatusResponse) GetCapsules

func (*GetGitStoreStatusResponse) GetErrors

func (*GetGitStoreStatusResponse) GetRepositories

func (*GetGitStoreStatusResponse) ProtoMessage

func (*GetGitStoreStatusResponse) ProtoMessage()

func (*GetGitStoreStatusResponse) ProtoReflect

func (*GetGitStoreStatusResponse) Reset

func (x *GetGitStoreStatusResponse) Reset()

func (*GetGitStoreStatusResponse) String

func (x *GetGitStoreStatusResponse) String() string

type GetGitStoreStatusResponse_CallbackErr

type GetGitStoreStatusResponse_CallbackErr struct {
	Err       string                 `protobuf:"bytes,1,opt,name=err,proto3" json:"err,omitempty"`
	Timestamp *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	// contains filtered or unexported fields
}

func (*GetGitStoreStatusResponse_CallbackErr) Descriptor deprecated

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

Deprecated: Use GetGitStoreStatusResponse_CallbackErr.ProtoReflect.Descriptor instead.

func (*GetGitStoreStatusResponse_CallbackErr) GetErr

func (*GetGitStoreStatusResponse_CallbackErr) GetTimestamp

func (*GetGitStoreStatusResponse_CallbackErr) ProtoMessage

func (*GetGitStoreStatusResponse_CallbackErr) ProtoMessage()

func (*GetGitStoreStatusResponse_CallbackErr) ProtoReflect

func (*GetGitStoreStatusResponse_CallbackErr) Reset

func (*GetGitStoreStatusResponse_CallbackErr) String

type GetGitStoreStatusResponse_CapsuleSetStatus

type GetGitStoreStatusResponse_CapsuleSetStatus struct {
	Capsule *model.CapsuleSetID `protobuf:"bytes,1,opt,name=capsule,proto3" json:"capsule,omitempty"`
	Status  *model.GitStatus    `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*GetGitStoreStatusResponse_CapsuleSetStatus) Descriptor deprecated

Deprecated: Use GetGitStoreStatusResponse_CapsuleSetStatus.ProtoReflect.Descriptor instead.

func (*GetGitStoreStatusResponse_CapsuleSetStatus) GetCapsule

func (*GetGitStoreStatusResponse_CapsuleSetStatus) GetStatus

func (*GetGitStoreStatusResponse_CapsuleSetStatus) ProtoMessage

func (*GetGitStoreStatusResponse_CapsuleSetStatus) ProtoReflect

func (*GetGitStoreStatusResponse_CapsuleSetStatus) Reset

func (*GetGitStoreStatusResponse_CapsuleSetStatus) String

type GetGitStoreStatusResponse_CapsuleStatus

type GetGitStoreStatusResponse_CapsuleStatus struct {
	Capsule *model.CapsuleID `protobuf:"bytes,1,opt,name=capsule,proto3" json:"capsule,omitempty"`
	Status  *model.GitStatus `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*GetGitStoreStatusResponse_CapsuleStatus) Descriptor deprecated

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

Deprecated: Use GetGitStoreStatusResponse_CapsuleStatus.ProtoReflect.Descriptor instead.

func (*GetGitStoreStatusResponse_CapsuleStatus) GetCapsule

func (*GetGitStoreStatusResponse_CapsuleStatus) GetStatus

func (*GetGitStoreStatusResponse_CapsuleStatus) ProtoMessage

func (*GetGitStoreStatusResponse_CapsuleStatus) ProtoReflect

func (*GetGitStoreStatusResponse_CapsuleStatus) Reset

func (*GetGitStoreStatusResponse_CapsuleStatus) String

type GetGitStoreStatusResponse_RepoGitStatus

type GetGitStoreStatusResponse_RepoGitStatus struct {
	Repo   *model.RepoBranch `protobuf:"bytes,1,opt,name=repo,proto3" json:"repo,omitempty"`
	Status *model.GitStatus  `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*GetGitStoreStatusResponse_RepoGitStatus) Descriptor deprecated

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

Deprecated: Use GetGitStoreStatusResponse_RepoGitStatus.ProtoReflect.Descriptor instead.

func (*GetGitStoreStatusResponse_RepoGitStatus) GetRepo

func (*GetGitStoreStatusResponse_RepoGitStatus) GetStatus

func (*GetGitStoreStatusResponse_RepoGitStatus) ProtoMessage

func (*GetGitStoreStatusResponse_RepoGitStatus) ProtoReflect

func (*GetGitStoreStatusResponse_RepoGitStatus) Reset

func (*GetGitStoreStatusResponse_RepoGitStatus) String

type GetLicenseInfoRequest

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

Request to get the license information of the Rig installation.

func (*GetLicenseInfoRequest) Descriptor deprecated

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

Deprecated: Use GetLicenseInfoRequest.ProtoReflect.Descriptor instead.

func (*GetLicenseInfoRequest) ProtoMessage

func (*GetLicenseInfoRequest) ProtoMessage()

func (*GetLicenseInfoRequest) ProtoReflect

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

func (*GetLicenseInfoRequest) Reset

func (x *GetLicenseInfoRequest) Reset()

func (*GetLicenseInfoRequest) String

func (x *GetLicenseInfoRequest) String() string

type GetLicenseInfoResponse

type GetLicenseInfoResponse struct {

	// The expiration date of the license.
	ExpiresAt *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=expires_at,json=expiresAt,proto3" json:"expires_at,omitempty"`
	// The number of users allowed in the installation.
	UserLimit int32 `protobuf:"varint,3,opt,name=user_limit,json=userLimit,proto3" json:"user_limit,omitempty"`
	// contains filtered or unexported fields
}

Response for getting the license information of the Rig installation.

func (*GetLicenseInfoResponse) Descriptor deprecated

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

Deprecated: Use GetLicenseInfoResponse.ProtoReflect.Descriptor instead.

func (*GetLicenseInfoResponse) GetExpiresAt

func (x *GetLicenseInfoResponse) GetExpiresAt() *timestamppb.Timestamp

func (*GetLicenseInfoResponse) GetUserLimit

func (x *GetLicenseInfoResponse) GetUserLimit() int32

func (*GetLicenseInfoResponse) ProtoMessage

func (*GetLicenseInfoResponse) ProtoMessage()

func (*GetLicenseInfoResponse) ProtoReflect

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

func (*GetLicenseInfoResponse) Reset

func (x *GetLicenseInfoResponse) Reset()

func (*GetLicenseInfoResponse) String

func (x *GetLicenseInfoResponse) String() string

type GetSettingsRequest

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

func (*GetSettingsRequest) Descriptor deprecated

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

Deprecated: Use GetSettingsRequest.ProtoReflect.Descriptor instead.

func (*GetSettingsRequest) ProtoMessage

func (*GetSettingsRequest) ProtoMessage()

func (*GetSettingsRequest) ProtoReflect

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

func (*GetSettingsRequest) Reset

func (x *GetSettingsRequest) Reset()

func (*GetSettingsRequest) String

func (x *GetSettingsRequest) String() string

type GetSettingsResponse

type GetSettingsResponse struct {
	Settings *Settings `protobuf:"bytes,1,opt,name=settings,proto3" json:"settings,omitempty"`
	// contains filtered or unexported fields
}

func (*GetSettingsResponse) Descriptor deprecated

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

Deprecated: Use GetSettingsResponse.ProtoReflect.Descriptor instead.

func (*GetSettingsResponse) GetSettings

func (x *GetSettingsResponse) GetSettings() *Settings

func (*GetSettingsResponse) ProtoMessage

func (*GetSettingsResponse) ProtoMessage()

func (*GetSettingsResponse) ProtoReflect

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

func (*GetSettingsResponse) Reset

func (x *GetSettingsResponse) Reset()

func (*GetSettingsResponse) String

func (x *GetSettingsResponse) String() string

type Git

type Git struct {

	// URL is a exact match for the repo-url this auth can be used for.
	Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
	// URLPrefix is a prefix-match for the repo urls this auth can be used for.
	UrlPrefix string `protobuf:"bytes,2,opt,name=url_prefix,json=urlPrefix,proto3" json:"url_prefix,omitempty"`
	// contains filtered or unexported fields
}

func (*Git) Descriptor deprecated

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

Deprecated: Use Git.ProtoReflect.Descriptor instead.

func (*Git) GetUrl

func (x *Git) GetUrl() string

func (*Git) GetUrlPrefix

func (x *Git) GetUrlPrefix() string

func (*Git) ProtoMessage

func (*Git) ProtoMessage()

func (*Git) ProtoReflect

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

func (*Git) Reset

func (x *Git) Reset()

func (*Git) String

func (x *Git) String() string

type Plan

type Plan int32

The plan for a rig installation

const (
	// Unspecified / unactivated plan.
	Plan_PLAN_UNSPECIFIED Plan = 0
	// Free tier.
	Plan_PLAN_FREE Plan = 1
	// Team / Pro tier.
	Plan_PLAN_TEAM Plan = 2
	// Enterprise tier.
	Plan_PLAN_ENTERPRISE Plan = 3
)

func (Plan) Descriptor

func (Plan) Descriptor() protoreflect.EnumDescriptor

func (Plan) Enum

func (x Plan) Enum() *Plan

func (Plan) EnumDescriptor deprecated

func (Plan) EnumDescriptor() ([]byte, []int)

Deprecated: Use Plan.Descriptor instead.

func (Plan) Number

func (x Plan) Number() protoreflect.EnumNumber

func (Plan) String

func (x Plan) String() string

func (Plan) Type

func (Plan) Type() protoreflect.EnumType

type ServiceClient

type ServiceClient interface {
	GetConfiguration(ctx context.Context, in *GetConfigurationRequest, opts ...grpc.CallOption) (*GetConfigurationResponse, error)
	GetSettings(ctx context.Context, in *GetSettingsRequest, opts ...grpc.CallOption) (*GetSettingsResponse, error)
	UpdateSettings(ctx context.Context, in *UpdateSettingsRequest, opts ...grpc.CallOption) (*UpdateSettingsResponse, error)
	GetLicenseInfo(ctx context.Context, in *GetLicenseInfoRequest, opts ...grpc.CallOption) (*GetLicenseInfoResponse, error)
	GetGitStoreStatus(ctx context.Context, in *GetGitStoreStatusRequest, opts ...grpc.CallOption) (*GetGitStoreStatusResponse, error)
}

ServiceClient is the client API for Service service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewServiceClient

func NewServiceClient(cc grpc.ClientConnInterface) ServiceClient

type ServiceServer

type ServiceServer interface {
	GetConfiguration(context.Context, *GetConfigurationRequest) (*GetConfigurationResponse, error)
	GetSettings(context.Context, *GetSettingsRequest) (*GetSettingsResponse, error)
	UpdateSettings(context.Context, *UpdateSettingsRequest) (*UpdateSettingsResponse, error)
	GetLicenseInfo(context.Context, *GetLicenseInfoRequest) (*GetLicenseInfoResponse, error)
	GetGitStoreStatus(context.Context, *GetGitStoreStatusRequest) (*GetGitStoreStatusResponse, error)
	// contains filtered or unexported methods
}

ServiceServer is the server API for Service service. All implementations must embed UnimplementedServiceServer for forward compatibility

type Settings

type Settings struct {
	NotificationNotifiers []*model.NotificationNotifier `protobuf:"bytes,1,rep,name=notification_notifiers,json=notificationNotifiers,proto3" json:"notification_notifiers,omitempty"`
	GitStore              *model.GitStore               `protobuf:"bytes,2,opt,name=git_store,json=gitStore,proto3" json:"git_store,omitempty"`
	Pipelines             []*model.Pipeline             `protobuf:"bytes,3,rep,name=pipelines,proto3" json:"pipelines,omitempty"`
	// contains filtered or unexported fields
}

Platform wide settings.

func (*Settings) Descriptor deprecated

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

Deprecated: Use Settings.ProtoReflect.Descriptor instead.

func (*Settings) GetGitStore

func (x *Settings) GetGitStore() *model.GitStore

func (*Settings) GetNotificationNotifiers

func (x *Settings) GetNotificationNotifiers() []*model.NotificationNotifier

func (*Settings) GetPipelines

func (x *Settings) GetPipelines() []*model.Pipeline

func (*Settings) ProtoMessage

func (*Settings) ProtoMessage()

func (*Settings) ProtoReflect

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

func (*Settings) Reset

func (x *Settings) Reset()

func (*Settings) String

func (x *Settings) String() string

type Slack

type Slack struct {
	Workspace []*Slack_Workspace `protobuf:"bytes,1,rep,name=workspace,proto3" json:"workspace,omitempty"`
	// contains filtered or unexported fields
}

func (*Slack) Descriptor deprecated

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

Deprecated: Use Slack.ProtoReflect.Descriptor instead.

func (*Slack) GetWorkspace

func (x *Slack) GetWorkspace() []*Slack_Workspace

func (*Slack) ProtoMessage

func (*Slack) ProtoMessage()

func (*Slack) ProtoReflect

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

func (*Slack) Reset

func (x *Slack) Reset()

func (*Slack) String

func (x *Slack) String() string

type Slack_Workspace

type Slack_Workspace struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*Slack_Workspace) Descriptor deprecated

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

Deprecated: Use Slack_Workspace.ProtoReflect.Descriptor instead.

func (*Slack_Workspace) GetName

func (x *Slack_Workspace) GetName() string

func (*Slack_Workspace) ProtoMessage

func (*Slack_Workspace) ProtoMessage()

func (*Slack_Workspace) ProtoReflect

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

func (*Slack_Workspace) Reset

func (x *Slack_Workspace) Reset()

func (*Slack_Workspace) String

func (x *Slack_Workspace) String() string

type UnimplementedServiceServer

type UnimplementedServiceServer struct {
}

UnimplementedServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedServiceServer) GetConfiguration

func (UnimplementedServiceServer) GetLicenseInfo

func (UnimplementedServiceServer) GetSettings

func (UnimplementedServiceServer) UpdateSettings

type UnsafeServiceServer

type UnsafeServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ServiceServer will result in compilation errors.

type Update

type Update struct {

	// Types that are assignable to Field:
	//
	//	*Update_SetNotificationNotifiers_
	//	*Update_SetGitStore
	//	*Update_SetPipelines_
	Field isUpdate_Field `protobuf_oneof:"field"`
	// contains filtered or unexported fields
}

Update message for platform settings.

func (*Update) Descriptor deprecated

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

Deprecated: Use Update.ProtoReflect.Descriptor instead.

func (*Update) GetField

func (m *Update) GetField() isUpdate_Field

func (*Update) GetSetGitStore

func (x *Update) GetSetGitStore() *model.GitStore

func (*Update) GetSetNotificationNotifiers

func (x *Update) GetSetNotificationNotifiers() *Update_SetNotificationNotifiers

func (*Update) GetSetPipelines

func (x *Update) GetSetPipelines() *Update_SetPipelines

func (*Update) ProtoMessage

func (*Update) ProtoMessage()

func (*Update) ProtoReflect

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

func (*Update) Reset

func (x *Update) Reset()

func (*Update) String

func (x *Update) String() string

type UpdateSettingsRequest

type UpdateSettingsRequest struct {
	Updates []*Update `protobuf:"bytes,1,rep,name=updates,proto3" json:"updates,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateSettingsRequest) Descriptor deprecated

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

Deprecated: Use UpdateSettingsRequest.ProtoReflect.Descriptor instead.

func (*UpdateSettingsRequest) GetUpdates

func (x *UpdateSettingsRequest) GetUpdates() []*Update

func (*UpdateSettingsRequest) ProtoMessage

func (*UpdateSettingsRequest) ProtoMessage()

func (*UpdateSettingsRequest) ProtoReflect

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

func (*UpdateSettingsRequest) Reset

func (x *UpdateSettingsRequest) Reset()

func (*UpdateSettingsRequest) String

func (x *UpdateSettingsRequest) String() string

type UpdateSettingsResponse

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

func (*UpdateSettingsResponse) Descriptor deprecated

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

Deprecated: Use UpdateSettingsResponse.ProtoReflect.Descriptor instead.

func (*UpdateSettingsResponse) ProtoMessage

func (*UpdateSettingsResponse) ProtoMessage()

func (*UpdateSettingsResponse) ProtoReflect

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

func (*UpdateSettingsResponse) Reset

func (x *UpdateSettingsResponse) Reset()

func (*UpdateSettingsResponse) String

func (x *UpdateSettingsResponse) String() string

type Update_SetGitStore

type Update_SetGitStore struct {
	// Set the git store.
	SetGitStore *model.GitStore `protobuf:"bytes,2,opt,name=set_git_store,json=setGitStore,proto3,oneof"`
}

type Update_SetNotificationNotifiers

type Update_SetNotificationNotifiers struct {
	Notifiers []*model.NotificationNotifier `protobuf:"bytes,1,rep,name=notifiers,proto3" json:"notifiers,omitempty"`
	// contains filtered or unexported fields
}

func (*Update_SetNotificationNotifiers) Descriptor deprecated

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

Deprecated: Use Update_SetNotificationNotifiers.ProtoReflect.Descriptor instead.

func (*Update_SetNotificationNotifiers) GetNotifiers

func (*Update_SetNotificationNotifiers) ProtoMessage

func (*Update_SetNotificationNotifiers) ProtoMessage()

func (*Update_SetNotificationNotifiers) ProtoReflect

func (*Update_SetNotificationNotifiers) Reset

func (*Update_SetNotificationNotifiers) String

type Update_SetNotificationNotifiers_

type Update_SetNotificationNotifiers_ struct {
	// Set the notification notifiers.
	SetNotificationNotifiers *Update_SetNotificationNotifiers `protobuf:"bytes,1,opt,name=set_notification_notifiers,json=setNotificationNotifiers,proto3,oneof"`
}

type Update_SetPipelines

type Update_SetPipelines struct {
	Pipelines []*model.Pipeline `protobuf:"bytes,1,rep,name=pipelines,proto3" json:"pipelines,omitempty"`
	// contains filtered or unexported fields
}

func (*Update_SetPipelines) Descriptor deprecated

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

Deprecated: Use Update_SetPipelines.ProtoReflect.Descriptor instead.

func (*Update_SetPipelines) GetPipelines

func (x *Update_SetPipelines) GetPipelines() []*model.Pipeline

func (*Update_SetPipelines) ProtoMessage

func (*Update_SetPipelines) ProtoMessage()

func (*Update_SetPipelines) ProtoReflect

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

func (*Update_SetPipelines) Reset

func (x *Update_SetPipelines) Reset()

func (*Update_SetPipelines) String

func (x *Update_SetPipelines) String() string

type Update_SetPipelines_

type Update_SetPipelines_ struct {
	// Set the pipelines.
	SetPipelines *Update_SetPipelines `protobuf:"bytes,3,opt,name=set_pipelines,json=setPipelines,proto3,oneof"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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