Documentation ¶
Index ¶
- Variables
- func RegisterServiceServer(s grpc.ServiceRegistrar, srv ServiceServer)
- type Client
- func (*Client) Descriptor() ([]byte, []int)deprecated
- func (x *Client) GetEmail() []*EmailClient
- func (x *Client) GetGit() []*Git
- func (x *Client) GetSlack() *Slack
- func (*Client) ProtoMessage()
- func (x *Client) ProtoReflect() protoreflect.Message
- func (x *Client) Reset()
- func (x *Client) String() string
- type Configuration
- func (*Configuration) Descriptor() ([]byte, []int)deprecated
- func (x *Configuration) GetCapsuleExtensions() map[string]*Extension
- func (x *Configuration) GetClient() *Client
- func (x *Configuration) GetDefaultEmail() *EmailClient
- func (x *Configuration) GetDockerRegistries() []string
- func (*Configuration) ProtoMessage()
- func (x *Configuration) ProtoReflect() protoreflect.Message
- func (x *Configuration) Reset()
- func (x *Configuration) String() string
- type EmailClient
- type EmailType
- type Extension
- type GetConfigurationRequest
- type GetConfigurationResponse
- func (*GetConfigurationResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetConfigurationResponse) GetConfiguration() *Configuration
- func (*GetConfigurationResponse) ProtoMessage()
- func (x *GetConfigurationResponse) ProtoReflect() protoreflect.Message
- func (x *GetConfigurationResponse) Reset()
- func (x *GetConfigurationResponse) String() string
- type GetGitStoreStatusRequest
- type GetGitStoreStatusResponse
- func (*GetGitStoreStatusResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetGitStoreStatusResponse) GetCapsuleSets() []*GetGitStoreStatusResponse_CapsuleSetStatus
- func (x *GetGitStoreStatusResponse) GetCapsules() []*GetGitStoreStatusResponse_CapsuleStatus
- func (x *GetGitStoreStatusResponse) GetErrors() []*GetGitStoreStatusResponse_CallbackErr
- func (x *GetGitStoreStatusResponse) GetRepositories() []*GetGitStoreStatusResponse_RepoGitStatus
- func (*GetGitStoreStatusResponse) ProtoMessage()
- func (x *GetGitStoreStatusResponse) ProtoReflect() protoreflect.Message
- func (x *GetGitStoreStatusResponse) Reset()
- func (x *GetGitStoreStatusResponse) String() string
- type GetGitStoreStatusResponse_CallbackErr
- func (*GetGitStoreStatusResponse_CallbackErr) Descriptor() ([]byte, []int)deprecated
- func (x *GetGitStoreStatusResponse_CallbackErr) GetErr() string
- func (x *GetGitStoreStatusResponse_CallbackErr) GetTimestamp() *timestamppb.Timestamp
- func (*GetGitStoreStatusResponse_CallbackErr) ProtoMessage()
- func (x *GetGitStoreStatusResponse_CallbackErr) ProtoReflect() protoreflect.Message
- func (x *GetGitStoreStatusResponse_CallbackErr) Reset()
- func (x *GetGitStoreStatusResponse_CallbackErr) String() string
- type GetGitStoreStatusResponse_CapsuleSetStatus
- func (*GetGitStoreStatusResponse_CapsuleSetStatus) Descriptor() ([]byte, []int)deprecated
- func (x *GetGitStoreStatusResponse_CapsuleSetStatus) GetCapsule() *model.CapsuleSetID
- func (x *GetGitStoreStatusResponse_CapsuleSetStatus) GetStatus() *model.GitStatus
- func (*GetGitStoreStatusResponse_CapsuleSetStatus) ProtoMessage()
- func (x *GetGitStoreStatusResponse_CapsuleSetStatus) ProtoReflect() protoreflect.Message
- func (x *GetGitStoreStatusResponse_CapsuleSetStatus) Reset()
- func (x *GetGitStoreStatusResponse_CapsuleSetStatus) String() string
- type GetGitStoreStatusResponse_CapsuleStatus
- func (*GetGitStoreStatusResponse_CapsuleStatus) Descriptor() ([]byte, []int)deprecated
- func (x *GetGitStoreStatusResponse_CapsuleStatus) GetCapsule() *model.CapsuleID
- func (x *GetGitStoreStatusResponse_CapsuleStatus) GetStatus() *model.GitStatus
- func (*GetGitStoreStatusResponse_CapsuleStatus) ProtoMessage()
- func (x *GetGitStoreStatusResponse_CapsuleStatus) ProtoReflect() protoreflect.Message
- func (x *GetGitStoreStatusResponse_CapsuleStatus) Reset()
- func (x *GetGitStoreStatusResponse_CapsuleStatus) String() string
- type GetGitStoreStatusResponse_RepoGitStatus
- func (*GetGitStoreStatusResponse_RepoGitStatus) Descriptor() ([]byte, []int)deprecated
- func (x *GetGitStoreStatusResponse_RepoGitStatus) GetRepo() *model.RepoBranch
- func (x *GetGitStoreStatusResponse_RepoGitStatus) GetStatus() *model.GitStatus
- func (*GetGitStoreStatusResponse_RepoGitStatus) ProtoMessage()
- func (x *GetGitStoreStatusResponse_RepoGitStatus) ProtoReflect() protoreflect.Message
- func (x *GetGitStoreStatusResponse_RepoGitStatus) Reset()
- func (x *GetGitStoreStatusResponse_RepoGitStatus) String() string
- type GetLicenseInfoRequest
- type GetLicenseInfoResponse
- func (*GetLicenseInfoResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetLicenseInfoResponse) GetExpiresAt() *timestamppb.Timestamp
- func (x *GetLicenseInfoResponse) GetUserLimit() int32
- func (*GetLicenseInfoResponse) ProtoMessage()
- func (x *GetLicenseInfoResponse) ProtoReflect() protoreflect.Message
- func (x *GetLicenseInfoResponse) Reset()
- func (x *GetLicenseInfoResponse) String() string
- type GetSettingsRequest
- type GetSettingsResponse
- func (*GetSettingsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetSettingsResponse) GetSettings() *Settings
- func (*GetSettingsResponse) ProtoMessage()
- func (x *GetSettingsResponse) ProtoReflect() protoreflect.Message
- func (x *GetSettingsResponse) Reset()
- func (x *GetSettingsResponse) String() string
- type Git
- type Plan
- type ServiceClient
- type ServiceServer
- type Settings
- func (*Settings) Descriptor() ([]byte, []int)deprecated
- func (x *Settings) GetGitStore() *model.GitStore
- func (x *Settings) GetNotificationNotifiers() []*model.NotificationNotifier
- func (x *Settings) GetPipelines() []*model.Pipeline
- func (*Settings) ProtoMessage()
- func (x *Settings) ProtoReflect() protoreflect.Message
- func (x *Settings) Reset()
- func (x *Settings) String() string
- type Slack
- type Slack_Workspace
- type UnimplementedServiceServer
- func (UnimplementedServiceServer) GetConfiguration(context.Context, *GetConfigurationRequest) (*GetConfigurationResponse, error)
- func (UnimplementedServiceServer) GetGitStoreStatus(context.Context, *GetGitStoreStatusRequest) (*GetGitStoreStatusResponse, error)
- func (UnimplementedServiceServer) GetLicenseInfo(context.Context, *GetLicenseInfoRequest) (*GetLicenseInfoResponse, error)
- func (UnimplementedServiceServer) GetSettings(context.Context, *GetSettingsRequest) (*GetSettingsResponse, error)
- func (UnimplementedServiceServer) UpdateSettings(context.Context, *UpdateSettingsRequest) (*UpdateSettingsResponse, error)
- type UnsafeServiceServer
- type Update
- func (*Update) Descriptor() ([]byte, []int)deprecated
- func (m *Update) GetField() isUpdate_Field
- func (x *Update) GetSetGitStore() *model.GitStore
- func (x *Update) GetSetNotificationNotifiers() *Update_SetNotificationNotifiers
- func (x *Update) GetSetPipelines() *Update_SetPipelines
- func (*Update) ProtoMessage()
- func (x *Update) ProtoReflect() protoreflect.Message
- func (x *Update) Reset()
- func (x *Update) String() string
- type UpdateSettingsRequest
- func (*UpdateSettingsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateSettingsRequest) GetUpdates() []*Update
- func (*UpdateSettingsRequest) ProtoMessage()
- func (x *UpdateSettingsRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateSettingsRequest) Reset()
- func (x *UpdateSettingsRequest) String() string
- type UpdateSettingsResponse
- type Update_SetGitStore
- type Update_SetNotificationNotifiers
- func (*Update_SetNotificationNotifiers) Descriptor() ([]byte, []int)deprecated
- func (x *Update_SetNotificationNotifiers) GetNotifiers() []*model.NotificationNotifier
- func (*Update_SetNotificationNotifiers) ProtoMessage()
- func (x *Update_SetNotificationNotifiers) ProtoReflect() protoreflect.Message
- func (x *Update_SetNotificationNotifiers) Reset()
- func (x *Update_SetNotificationNotifiers) String() string
- type Update_SetNotificationNotifiers_
- type Update_SetPipelines
- func (*Update_SetPipelines) Descriptor() ([]byte, []int)deprecated
- func (x *Update_SetPipelines) GetPipelines() []*model.Pipeline
- func (*Update_SetPipelines) ProtoMessage()
- func (x *Update_SetPipelines) ProtoReflect() protoreflect.Message
- func (x *Update_SetPipelines) Reset()
- func (x *Update_SetPipelines) String() string
- type Update_SetPipelines_
Constants ¶
This section is empty.
Variables ¶
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.
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.
var File_api_v1_settings_configuration_proto protoreflect.FileDescriptor
var File_api_v1_settings_service_proto protoreflect.FileDescriptor
var File_api_v1_settings_settings_proto protoreflect.FileDescriptor
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) GetEmail ¶
func (x *Client) GetEmail() []*EmailClient
func (*Client) ProtoMessage ¶
func (*Client) ProtoMessage()
func (*Client) ProtoReflect ¶
func (x *Client) ProtoReflect() protoreflect.Message
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
func (EmailType) Descriptor ¶
func (EmailType) Descriptor() protoreflect.EnumDescriptor
func (EmailType) EnumDescriptor
deprecated
func (EmailType) Number ¶
func (x EmailType) Number() protoreflect.EnumNumber
func (EmailType) Type ¶
func (EmailType) Type() protoreflect.EnumType
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) GetJsonSchema ¶
func (*Extension) ProtoMessage ¶
func (*Extension) ProtoMessage()
func (*Extension) ProtoReflect ¶
func (x *Extension) ProtoReflect() protoreflect.Message
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 (x *GetGitStoreStatusResponse) GetCapsuleSets() []*GetGitStoreStatusResponse_CapsuleSetStatus
func (*GetGitStoreStatusResponse) GetCapsules ¶
func (x *GetGitStoreStatusResponse) GetCapsules() []*GetGitStoreStatusResponse_CapsuleStatus
func (*GetGitStoreStatusResponse) GetErrors ¶
func (x *GetGitStoreStatusResponse) GetErrors() []*GetGitStoreStatusResponse_CallbackErr
func (*GetGitStoreStatusResponse) GetRepositories ¶
func (x *GetGitStoreStatusResponse) GetRepositories() []*GetGitStoreStatusResponse_RepoGitStatus
func (*GetGitStoreStatusResponse) ProtoMessage ¶
func (*GetGitStoreStatusResponse) ProtoMessage()
func (*GetGitStoreStatusResponse) ProtoReflect ¶
func (x *GetGitStoreStatusResponse) ProtoReflect() protoreflect.Message
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 (x *GetGitStoreStatusResponse_CallbackErr) GetErr() string
func (*GetGitStoreStatusResponse_CallbackErr) GetTimestamp ¶
func (x *GetGitStoreStatusResponse_CallbackErr) GetTimestamp() *timestamppb.Timestamp
func (*GetGitStoreStatusResponse_CallbackErr) ProtoMessage ¶
func (*GetGitStoreStatusResponse_CallbackErr) ProtoMessage()
func (*GetGitStoreStatusResponse_CallbackErr) ProtoReflect ¶
func (x *GetGitStoreStatusResponse_CallbackErr) ProtoReflect() protoreflect.Message
func (*GetGitStoreStatusResponse_CallbackErr) Reset ¶
func (x *GetGitStoreStatusResponse_CallbackErr) Reset()
func (*GetGitStoreStatusResponse_CallbackErr) String ¶
func (x *GetGitStoreStatusResponse_CallbackErr) String() 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
func (*GetGitStoreStatusResponse_CapsuleSetStatus) Descriptor() ([]byte, []int)
Deprecated: Use GetGitStoreStatusResponse_CapsuleSetStatus.ProtoReflect.Descriptor instead.
func (*GetGitStoreStatusResponse_CapsuleSetStatus) GetCapsule ¶
func (x *GetGitStoreStatusResponse_CapsuleSetStatus) GetCapsule() *model.CapsuleSetID
func (*GetGitStoreStatusResponse_CapsuleSetStatus) GetStatus ¶
func (x *GetGitStoreStatusResponse_CapsuleSetStatus) GetStatus() *model.GitStatus
func (*GetGitStoreStatusResponse_CapsuleSetStatus) ProtoMessage ¶
func (*GetGitStoreStatusResponse_CapsuleSetStatus) ProtoMessage()
func (*GetGitStoreStatusResponse_CapsuleSetStatus) ProtoReflect ¶
func (x *GetGitStoreStatusResponse_CapsuleSetStatus) ProtoReflect() protoreflect.Message
func (*GetGitStoreStatusResponse_CapsuleSetStatus) Reset ¶
func (x *GetGitStoreStatusResponse_CapsuleSetStatus) Reset()
func (*GetGitStoreStatusResponse_CapsuleSetStatus) String ¶
func (x *GetGitStoreStatusResponse_CapsuleSetStatus) String() 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 (x *GetGitStoreStatusResponse_CapsuleStatus) GetCapsule() *model.CapsuleID
func (*GetGitStoreStatusResponse_CapsuleStatus) GetStatus ¶
func (x *GetGitStoreStatusResponse_CapsuleStatus) GetStatus() *model.GitStatus
func (*GetGitStoreStatusResponse_CapsuleStatus) ProtoMessage ¶
func (*GetGitStoreStatusResponse_CapsuleStatus) ProtoMessage()
func (*GetGitStoreStatusResponse_CapsuleStatus) ProtoReflect ¶
func (x *GetGitStoreStatusResponse_CapsuleStatus) ProtoReflect() protoreflect.Message
func (*GetGitStoreStatusResponse_CapsuleStatus) Reset ¶
func (x *GetGitStoreStatusResponse_CapsuleStatus) Reset()
func (*GetGitStoreStatusResponse_CapsuleStatus) String ¶
func (x *GetGitStoreStatusResponse_CapsuleStatus) String() 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 (x *GetGitStoreStatusResponse_RepoGitStatus) GetRepo() *model.RepoBranch
func (*GetGitStoreStatusResponse_RepoGitStatus) GetStatus ¶
func (x *GetGitStoreStatusResponse_RepoGitStatus) GetStatus() *model.GitStatus
func (*GetGitStoreStatusResponse_RepoGitStatus) ProtoMessage ¶
func (*GetGitStoreStatusResponse_RepoGitStatus) ProtoMessage()
func (*GetGitStoreStatusResponse_RepoGitStatus) ProtoReflect ¶
func (x *GetGitStoreStatusResponse_RepoGitStatus) ProtoReflect() protoreflect.Message
func (*GetGitStoreStatusResponse_RepoGitStatus) Reset ¶
func (x *GetGitStoreStatusResponse_RepoGitStatus) Reset()
func (*GetGitStoreStatusResponse_RepoGitStatus) String ¶
func (x *GetGitStoreStatusResponse_RepoGitStatus) String() 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) GetUrlPrefix ¶
func (*Git) ProtoMessage ¶
func (*Git) ProtoMessage()
func (*Git) ProtoReflect ¶
func (x *Git) ProtoReflect() protoreflect.Message
type Plan ¶
type Plan int32
The plan for a rig installation
func (Plan) Descriptor ¶
func (Plan) Descriptor() protoreflect.EnumDescriptor
func (Plan) EnumDescriptor
deprecated
func (Plan) Number ¶
func (x Plan) Number() protoreflect.EnumNumber
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) GetGitStore ¶
func (*Settings) GetNotificationNotifiers ¶
func (x *Settings) GetNotificationNotifiers() []*model.NotificationNotifier
func (*Settings) GetPipelines ¶
func (*Settings) ProtoMessage ¶
func (*Settings) ProtoMessage()
func (*Settings) ProtoReflect ¶
func (x *Settings) ProtoReflect() protoreflect.Message
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) GetWorkspace ¶
func (x *Slack) GetWorkspace() []*Slack_Workspace
func (*Slack) ProtoMessage ¶
func (*Slack) ProtoMessage()
func (*Slack) ProtoReflect ¶
func (x *Slack) ProtoReflect() protoreflect.Message
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) GetConfiguration(context.Context, *GetConfigurationRequest) (*GetConfigurationResponse, error)
func (UnimplementedServiceServer) GetGitStoreStatus ¶
func (UnimplementedServiceServer) GetGitStoreStatus(context.Context, *GetGitStoreStatusRequest) (*GetGitStoreStatusResponse, error)
func (UnimplementedServiceServer) GetLicenseInfo ¶
func (UnimplementedServiceServer) GetLicenseInfo(context.Context, *GetLicenseInfoRequest) (*GetLicenseInfoResponse, error)
func (UnimplementedServiceServer) GetSettings ¶
func (UnimplementedServiceServer) GetSettings(context.Context, *GetSettingsRequest) (*GetSettingsResponse, error)
func (UnimplementedServiceServer) UpdateSettings ¶
func (UnimplementedServiceServer) UpdateSettings(context.Context, *UpdateSettingsRequest) (*UpdateSettingsResponse, error)
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) GetSetGitStore ¶
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
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_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 (x *Update_SetNotificationNotifiers) GetNotifiers() []*model.NotificationNotifier
func (*Update_SetNotificationNotifiers) ProtoMessage ¶
func (*Update_SetNotificationNotifiers) ProtoMessage()
func (*Update_SetNotificationNotifiers) ProtoReflect ¶
func (x *Update_SetNotificationNotifiers) ProtoReflect() protoreflect.Message
func (*Update_SetNotificationNotifiers) Reset ¶
func (x *Update_SetNotificationNotifiers) Reset()
func (*Update_SetNotificationNotifiers) String ¶
func (x *Update_SetNotificationNotifiers) String() 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"` }