v0.11.0 94ffd87

ci_settings.pb.go RawHistoryFolder

1// SPDX-License-Identifier: MIT
2
3// Code generated by protoc-gen-go. DO NOT EDIT.
4// versions:
5// 	protoc-gen-go v1.36.12
6// 	protoc        (unknown)
7// source: ermite/ci_settings.proto
8
9package ermite
10
11import (
12	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
13	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
14	timestamppb "google.golang.org/protobuf/types/known/timestamppb"
15	reflect "reflect"
16	sync "sync"
17	unsafe "unsafe"
18)
19
20const (
21	// Verify that this generated code is sufficiently up-to-date.
22	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
23	// Verify that runtime/protoimpl is sufficiently up-to-date.
24	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
25)
26
27// SettingsScope says where a secret or a variable lives, like the scopes of
28// GitHub Actions. A job sees the ones of its instance, its repository and its
29// environment, and the narrowest scope wins: environment over repository over
30// instance.
31type SettingsScope struct {
32	state protoimpl.MessageState `protogen:"open.v1"`
33	// Where is the scope. It is required: a request without it is
34	// invalid_argument.
35	//
36	// Types that are valid to be assigned to Where:
37	//
38	//	*SettingsScope_Instance
39	//	*SettingsScope_Repo
40	//	*SettingsScope_Environment
41	Where         isSettingsScope_Where `protobuf_oneof:"where"`
42	unknownFields protoimpl.UnknownFields
43	sizeCache     protoimpl.SizeCache
44}
45
46func (x *SettingsScope) Reset() {
47	*x = SettingsScope{}
48	mi := &file_ermite_ci_settings_proto_msgTypes[0]
49	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
50	ms.StoreMessageInfo(mi)
51}
52
53func (x *SettingsScope) String() string {
54	return protoimpl.X.MessageStringOf(x)
55}
56
57func (*SettingsScope) ProtoMessage() {}
58
59func (x *SettingsScope) ProtoReflect() protoreflect.Message {
60	mi := &file_ermite_ci_settings_proto_msgTypes[0]
61	if x != nil {
62		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
63		if ms.LoadMessageInfo() == nil {
64			ms.StoreMessageInfo(mi)
65		}
66		return ms
67	}
68	return mi.MessageOf(x)
69}
70
71// Deprecated: Use SettingsScope.ProtoReflect.Descriptor instead.
72func (*SettingsScope) Descriptor() ([]byte, []int) {
73	return file_ermite_ci_settings_proto_rawDescGZIP(), []int{0}
74}
75
76func (x *SettingsScope) GetWhere() isSettingsScope_Where {
77	if x != nil {
78		return x.Where
79	}
80	return nil
81}
82
83func (x *SettingsScope) GetInstance() bool {
84	if x != nil {
85		if x, ok := x.Where.(*SettingsScope_Instance); ok {
86			return x.Instance
87		}
88	}
89	return false
90}
91
92func (x *SettingsScope) GetRepo() string {
93	if x != nil {
94		if x, ok := x.Where.(*SettingsScope_Repo); ok {
95			return x.Repo
96		}
97	}
98	return ""
99}
100
101func (x *SettingsScope) GetEnvironment() *EnvironmentRef {
102	if x != nil {
103		if x, ok := x.Where.(*SettingsScope_Environment); ok {
104			return x.Environment
105		}
106	}
107	return nil
108}
109
110type isSettingsScope_Where interface {
111	isSettingsScope_Where()
112}
113
114type SettingsScope_Instance struct {
115	// Instance is the whole server. It must be true when set. It needs a token
116	// that is not restricted to repositories, or the root token.
117	Instance bool `protobuf:"varint,1,opt,name=instance,proto3,oneof"`
118}
119
120type SettingsScope_Repo struct {
121	// Repo is the name of a repository.
122	Repo string `protobuf:"bytes,2,opt,name=repo,proto3,oneof"`
123}
124
125type SettingsScope_Environment struct {
126	// Environment is an environment of a repository.
127	Environment *EnvironmentRef `protobuf:"bytes,3,opt,name=environment,proto3,oneof"`
128}
129
130func (*SettingsScope_Instance) isSettingsScope_Where() {}
131
132func (*SettingsScope_Repo) isSettingsScope_Where() {}
133
134func (*SettingsScope_Environment) isSettingsScope_Where() {}
135
136// EnvironmentRef names an environment of a repository.
137type EnvironmentRef struct {
138	state protoimpl.MessageState `protogen:"open.v1"`
139	// Repo is the repository name.
140	Repo string `protobuf:"bytes,1,opt,name=repo,proto3" json:"repo,omitempty"`
141	// Name is the environment name, see Environment.name.
142	Name          string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
143	unknownFields protoimpl.UnknownFields
144	sizeCache     protoimpl.SizeCache
145}
146
147func (x *EnvironmentRef) Reset() {
148	*x = EnvironmentRef{}
149	mi := &file_ermite_ci_settings_proto_msgTypes[1]
150	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
151	ms.StoreMessageInfo(mi)
152}
153
154func (x *EnvironmentRef) String() string {
155	return protoimpl.X.MessageStringOf(x)
156}
157
158func (*EnvironmentRef) ProtoMessage() {}
159
160func (x *EnvironmentRef) ProtoReflect() protoreflect.Message {
161	mi := &file_ermite_ci_settings_proto_msgTypes[1]
162	if x != nil {
163		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
164		if ms.LoadMessageInfo() == nil {
165			ms.StoreMessageInfo(mi)
166		}
167		return ms
168	}
169	return mi.MessageOf(x)
170}
171
172// Deprecated: Use EnvironmentRef.ProtoReflect.Descriptor instead.
173func (*EnvironmentRef) Descriptor() ([]byte, []int) {
174	return file_ermite_ci_settings_proto_rawDescGZIP(), []int{1}
175}
176
177func (x *EnvironmentRef) GetRepo() string {
178	if x != nil {
179		return x.Repo
180	}
181	return ""
182}
183
184func (x *EnvironmentRef) GetName() string {
185	if x != nil {
186		return x.Name
187	}
188	return ""
189}
190
191// Secret describes a stored secret. It never contains the value: a value can
192// be set but not read back.
193type Secret struct {
194	state protoimpl.MessageState `protogen:"open.v1"`
195	// Name is the name of the secret, in upper case as the server stores it.
196	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
197	// UpdatedAt is when the value was last set.
198	UpdatedAt     *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
199	unknownFields protoimpl.UnknownFields
200	sizeCache     protoimpl.SizeCache
201}
202
203func (x *Secret) Reset() {
204	*x = Secret{}
205	mi := &file_ermite_ci_settings_proto_msgTypes[2]
206	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
207	ms.StoreMessageInfo(mi)
208}
209
210func (x *Secret) String() string {
211	return protoimpl.X.MessageStringOf(x)
212}
213
214func (*Secret) ProtoMessage() {}
215
216func (x *Secret) ProtoReflect() protoreflect.Message {
217	mi := &file_ermite_ci_settings_proto_msgTypes[2]
218	if x != nil {
219		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
220		if ms.LoadMessageInfo() == nil {
221			ms.StoreMessageInfo(mi)
222		}
223		return ms
224	}
225	return mi.MessageOf(x)
226}
227
228// Deprecated: Use Secret.ProtoReflect.Descriptor instead.
229func (*Secret) Descriptor() ([]byte, []int) {
230	return file_ermite_ci_settings_proto_rawDescGZIP(), []int{2}
231}
232
233func (x *Secret) GetName() string {
234	if x != nil {
235		return x.Name
236	}
237	return ""
238}
239
240func (x *Secret) GetUpdatedAt() *timestamppb.Timestamp {
241	if x != nil {
242		return x.UpdatedAt
243	}
244	return nil
245}
246
247// Variable is a configuration variable. Unlike a secret its value can be read
248// back and it may appear in logs.
249type Variable struct {
250	state protoimpl.MessageState `protogen:"open.v1"`
251	// Name is the name of the variable, in upper case as the server stores it.
252	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
253	// Value is the value, at most 48 KiB.
254	Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
255	// UpdatedAt is when the value was last set.
256	UpdatedAt     *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
257	unknownFields protoimpl.UnknownFields
258	sizeCache     protoimpl.SizeCache
259}
260
261func (x *Variable) Reset() {
262	*x = Variable{}
263	mi := &file_ermite_ci_settings_proto_msgTypes[3]
264	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
265	ms.StoreMessageInfo(mi)
266}
267
268func (x *Variable) String() string {
269	return protoimpl.X.MessageStringOf(x)
270}
271
272func (*Variable) ProtoMessage() {}
273
274func (x *Variable) ProtoReflect() protoreflect.Message {
275	mi := &file_ermite_ci_settings_proto_msgTypes[3]
276	if x != nil {
277		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
278		if ms.LoadMessageInfo() == nil {
279			ms.StoreMessageInfo(mi)
280		}
281		return ms
282	}
283	return mi.MessageOf(x)
284}
285
286// Deprecated: Use Variable.ProtoReflect.Descriptor instead.
287func (*Variable) Descriptor() ([]byte, []int) {
288	return file_ermite_ci_settings_proto_rawDescGZIP(), []int{3}
289}
290
291func (x *Variable) GetName() string {
292	if x != nil {
293		return x.Name
294	}
295	return ""
296}
297
298func (x *Variable) GetValue() string {
299	if x != nil {
300		return x.Value
301	}
302	return ""
303}
304
305func (x *Variable) GetUpdatedAt() *timestamppb.Timestamp {
306	if x != nil {
307		return x.UpdatedAt
308	}
309	return nil
310}
311
312// Environment is a named deployment target of a repository, to which secrets
313// and variables can be attached. A workflow job that names an environment
314// creates it on first use, as on GitHub.
315type Environment struct {
316	state protoimpl.MessageState `protogen:"open.v1"`
317	// Repo is the repository name.
318	Repo string `protobuf:"bytes,1,opt,name=repo,proto3" json:"repo,omitempty"`
319	// Name is the name of the environment, 1 to 255 characters without control
320	// characters, unique in the repository without regard to case. The server
321	// keeps the case it was given.
322	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
323	// CreatedAt is when the environment was created.
324	CreatedAt     *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
325	unknownFields protoimpl.UnknownFields
326	sizeCache     protoimpl.SizeCache
327}
328
329func (x *Environment) Reset() {
330	*x = Environment{}
331	mi := &file_ermite_ci_settings_proto_msgTypes[4]
332	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
333	ms.StoreMessageInfo(mi)
334}
335
336func (x *Environment) String() string {
337	return protoimpl.X.MessageStringOf(x)
338}
339
340func (*Environment) ProtoMessage() {}
341
342func (x *Environment) ProtoReflect() protoreflect.Message {
343	mi := &file_ermite_ci_settings_proto_msgTypes[4]
344	if x != nil {
345		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
346		if ms.LoadMessageInfo() == nil {
347			ms.StoreMessageInfo(mi)
348		}
349		return ms
350	}
351	return mi.MessageOf(x)
352}
353
354// Deprecated: Use Environment.ProtoReflect.Descriptor instead.
355func (*Environment) Descriptor() ([]byte, []int) {
356	return file_ermite_ci_settings_proto_rawDescGZIP(), []int{4}
357}
358
359func (x *Environment) GetRepo() string {
360	if x != nil {
361		return x.Repo
362	}
363	return ""
364}
365
366func (x *Environment) GetName() string {
367	if x != nil {
368		return x.Name
369	}
370	return ""
371}
372
373func (x *Environment) GetCreatedAt() *timestamppb.Timestamp {
374	if x != nil {
375		return x.CreatedAt
376	}
377	return nil
378}
379
380// SetSecretRequest names a secret and gives its value.
381type SetSecretRequest struct {
382	state protoimpl.MessageState `protogen:"open.v1"`
383	// Scope is where the secret lives.
384	Scope *SettingsScope `protobuf:"bytes,1,opt,name=scope,proto3" json:"scope,omitempty"`
385	// Name is the name of the secret.
386	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
387	// Value is the value in plain text, 1 byte to 48 KiB. It may contain
388	// several lines.
389	Value         string `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"`
390	unknownFields protoimpl.UnknownFields
391	sizeCache     protoimpl.SizeCache
392}
393
394func (x *SetSecretRequest) Reset() {
395	*x = SetSecretRequest{}
396	mi := &file_ermite_ci_settings_proto_msgTypes[5]
397	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
398	ms.StoreMessageInfo(mi)
399}
400
401func (x *SetSecretRequest) String() string {
402	return protoimpl.X.MessageStringOf(x)
403}
404
405func (*SetSecretRequest) ProtoMessage() {}
406
407func (x *SetSecretRequest) ProtoReflect() protoreflect.Message {
408	mi := &file_ermite_ci_settings_proto_msgTypes[5]
409	if x != nil {
410		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
411		if ms.LoadMessageInfo() == nil {
412			ms.StoreMessageInfo(mi)
413		}
414		return ms
415	}
416	return mi.MessageOf(x)
417}
418
419// Deprecated: Use SetSecretRequest.ProtoReflect.Descriptor instead.
420func (*SetSecretRequest) Descriptor() ([]byte, []int) {
421	return file_ermite_ci_settings_proto_rawDescGZIP(), []int{5}
422}
423
424func (x *SetSecretRequest) GetScope() *SettingsScope {
425	if x != nil {
426		return x.Scope
427	}
428	return nil
429}
430
431func (x *SetSecretRequest) GetName() string {
432	if x != nil {
433		return x.Name
434	}
435	return ""
436}
437
438func (x *SetSecretRequest) GetValue() string {
439	if x != nil {
440		return x.Value
441	}
442	return ""
443}
444
445// SetSecretResponse describes the stored secret.
446type SetSecretResponse struct {
447	state protoimpl.MessageState `protogen:"open.v1"`
448	// Secret is the secret, without its value.
449	Secret        *Secret `protobuf:"bytes,1,opt,name=secret,proto3" json:"secret,omitempty"`
450	unknownFields protoimpl.UnknownFields
451	sizeCache     protoimpl.SizeCache
452}
453
454func (x *SetSecretResponse) Reset() {
455	*x = SetSecretResponse{}
456	mi := &file_ermite_ci_settings_proto_msgTypes[6]
457	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
458	ms.StoreMessageInfo(mi)
459}
460
461func (x *SetSecretResponse) String() string {
462	return protoimpl.X.MessageStringOf(x)
463}
464
465func (*SetSecretResponse) ProtoMessage() {}
466
467func (x *SetSecretResponse) ProtoReflect() protoreflect.Message {
468	mi := &file_ermite_ci_settings_proto_msgTypes[6]
469	if x != nil {
470		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
471		if ms.LoadMessageInfo() == nil {
472			ms.StoreMessageInfo(mi)
473		}
474		return ms
475	}
476	return mi.MessageOf(x)
477}
478
479// Deprecated: Use SetSecretResponse.ProtoReflect.Descriptor instead.
480func (*SetSecretResponse) Descriptor() ([]byte, []int) {
481	return file_ermite_ci_settings_proto_rawDescGZIP(), []int{6}
482}
483
484func (x *SetSecretResponse) GetSecret() *Secret {
485	if x != nil {
486		return x.Secret
487	}
488	return nil
489}
490
491// ListSecretsRequest selects a page of the secrets of a scope.
492type ListSecretsRequest struct {
493	state protoimpl.MessageState `protogen:"open.v1"`
494	// Scope is the scope to list.
495	Scope *SettingsScope `protobuf:"bytes,1,opt,name=scope,proto3" json:"scope,omitempty"`
496	// PageSize is the maximum number of secrets to return. 0 means the server
497	// default; values above the server maximum are lowered to it.
498	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
499	// PageToken is the next_page_token of a previous response. Empty for the
500	// first page.
501	PageToken     string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
502	unknownFields protoimpl.UnknownFields
503	sizeCache     protoimpl.SizeCache
504}
505
506func (x *ListSecretsRequest) Reset() {
507	*x = ListSecretsRequest{}
508	mi := &file_ermite_ci_settings_proto_msgTypes[7]
509	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
510	ms.StoreMessageInfo(mi)
511}
512
513func (x *ListSecretsRequest) String() string {
514	return protoimpl.X.MessageStringOf(x)
515}
516
517func (*ListSecretsRequest) ProtoMessage() {}
518
519func (x *ListSecretsRequest) ProtoReflect() protoreflect.Message {
520	mi := &file_ermite_ci_settings_proto_msgTypes[7]
521	if x != nil {
522		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
523		if ms.LoadMessageInfo() == nil {
524			ms.StoreMessageInfo(mi)
525		}
526		return ms
527	}
528	return mi.MessageOf(x)
529}
530
531// Deprecated: Use ListSecretsRequest.ProtoReflect.Descriptor instead.
532func (*ListSecretsRequest) Descriptor() ([]byte, []int) {
533	return file_ermite_ci_settings_proto_rawDescGZIP(), []int{7}
534}
535
536func (x *ListSecretsRequest) GetScope() *SettingsScope {
537	if x != nil {
538		return x.Scope
539	}
540	return nil
541}
542
543func (x *ListSecretsRequest) GetPageSize() int32 {
544	if x != nil {
545		return x.PageSize
546	}
547	return 0
548}
549
550func (x *ListSecretsRequest) GetPageToken() string {
551	if x != nil {
552		return x.PageToken
553	}
554	return ""
555}
556
557// ListSecretsResponse is one page of secrets.
558type ListSecretsResponse struct {
559	state protoimpl.MessageState `protogen:"open.v1"`
560	// Secrets are the secrets of this page, ordered by name, without values.
561	Secrets []*Secret `protobuf:"bytes,1,rep,name=secrets,proto3" json:"secrets,omitempty"`
562	// NextPageToken is passed as page_token to get the next page. Empty when
563	// there is no next page.
564	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
565	unknownFields protoimpl.UnknownFields
566	sizeCache     protoimpl.SizeCache
567}
568
569func (x *ListSecretsResponse) Reset() {
570	*x = ListSecretsResponse{}
571	mi := &file_ermite_ci_settings_proto_msgTypes[8]
572	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
573	ms.StoreMessageInfo(mi)
574}
575
576func (x *ListSecretsResponse) String() string {
577	return protoimpl.X.MessageStringOf(x)
578}
579
580func (*ListSecretsResponse) ProtoMessage() {}
581
582func (x *ListSecretsResponse) ProtoReflect() protoreflect.Message {
583	mi := &file_ermite_ci_settings_proto_msgTypes[8]
584	if x != nil {
585		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
586		if ms.LoadMessageInfo() == nil {
587			ms.StoreMessageInfo(mi)
588		}
589		return ms
590	}
591	return mi.MessageOf(x)
592}
593
594// Deprecated: Use ListSecretsResponse.ProtoReflect.Descriptor instead.
595func (*ListSecretsResponse) Descriptor() ([]byte, []int) {
596	return file_ermite_ci_settings_proto_rawDescGZIP(), []int{8}
597}
598
599func (x *ListSecretsResponse) GetSecrets() []*Secret {
600	if x != nil {
601		return x.Secrets
602	}
603	return nil
604}
605
606func (x *ListSecretsResponse) GetNextPageToken() string {
607	if x != nil {
608		return x.NextPageToken
609	}
610	return ""
611}
612
613// DeleteSecretRequest names the secret to delete.
614type DeleteSecretRequest struct {
615	state protoimpl.MessageState `protogen:"open.v1"`
616	// Scope is where the secret lives.
617	Scope *SettingsScope `protobuf:"bytes,1,opt,name=scope,proto3" json:"scope,omitempty"`
618	// Name is the name of the secret, without regard to case.
619	Name          string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
620	unknownFields protoimpl.UnknownFields
621	sizeCache     protoimpl.SizeCache
622}
623
624func (x *DeleteSecretRequest) Reset() {
625	*x = DeleteSecretRequest{}
626	mi := &file_ermite_ci_settings_proto_msgTypes[9]
627	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
628	ms.StoreMessageInfo(mi)
629}
630
631func (x *DeleteSecretRequest) String() string {
632	return protoimpl.X.MessageStringOf(x)
633}
634
635func (*DeleteSecretRequest) ProtoMessage() {}
636
637func (x *DeleteSecretRequest) ProtoReflect() protoreflect.Message {
638	mi := &file_ermite_ci_settings_proto_msgTypes[9]
639	if x != nil {
640		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
641		if ms.LoadMessageInfo() == nil {
642			ms.StoreMessageInfo(mi)
643		}
644		return ms
645	}
646	return mi.MessageOf(x)
647}
648
649// Deprecated: Use DeleteSecretRequest.ProtoReflect.Descriptor instead.
650func (*DeleteSecretRequest) Descriptor() ([]byte, []int) {
651	return file_ermite_ci_settings_proto_rawDescGZIP(), []int{9}
652}
653
654func (x *DeleteSecretRequest) GetScope() *SettingsScope {
655	if x != nil {
656		return x.Scope
657	}
658	return nil
659}
660
661func (x *DeleteSecretRequest) GetName() string {
662	if x != nil {
663		return x.Name
664	}
665	return ""
666}
667
668// DeleteSecretResponse is empty.
669type DeleteSecretResponse struct {
670	state         protoimpl.MessageState `protogen:"open.v1"`
671	unknownFields protoimpl.UnknownFields
672	sizeCache     protoimpl.SizeCache
673}
674
675func (x *DeleteSecretResponse) Reset() {
676	*x = DeleteSecretResponse{}
677	mi := &file_ermite_ci_settings_proto_msgTypes[10]
678	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
679	ms.StoreMessageInfo(mi)
680}
681
682func (x *DeleteSecretResponse) String() string {
683	return protoimpl.X.MessageStringOf(x)
684}
685
686func (*DeleteSecretResponse) ProtoMessage() {}
687
688func (x *DeleteSecretResponse) ProtoReflect() protoreflect.Message {
689	mi := &file_ermite_ci_settings_proto_msgTypes[10]
690	if x != nil {
691		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
692		if ms.LoadMessageInfo() == nil {
693			ms.StoreMessageInfo(mi)
694		}
695		return ms
696	}
697	return mi.MessageOf(x)
698}
699
700// Deprecated: Use DeleteSecretResponse.ProtoReflect.Descriptor instead.
701func (*DeleteSecretResponse) Descriptor() ([]byte, []int) {
702	return file_ermite_ci_settings_proto_rawDescGZIP(), []int{10}
703}
704
705// SetVariableRequest names a variable and gives its value.
706type SetVariableRequest struct {
707	state protoimpl.MessageState `protogen:"open.v1"`
708	// Scope is where the variable lives.
709	Scope *SettingsScope `protobuf:"bytes,1,opt,name=scope,proto3" json:"scope,omitempty"`
710	// Name is the name of the variable.
711	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
712	// Value is the value, at most 48 KiB.
713	Value         string `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"`
714	unknownFields protoimpl.UnknownFields
715	sizeCache     protoimpl.SizeCache
716}
717
718func (x *SetVariableRequest) Reset() {
719	*x = SetVariableRequest{}
720	mi := &file_ermite_ci_settings_proto_msgTypes[11]
721	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
722	ms.StoreMessageInfo(mi)
723}
724
725func (x *SetVariableRequest) String() string {
726	return protoimpl.X.MessageStringOf(x)
727}
728
729func (*SetVariableRequest) ProtoMessage() {}
730
731func (x *SetVariableRequest) ProtoReflect() protoreflect.Message {
732	mi := &file_ermite_ci_settings_proto_msgTypes[11]
733	if x != nil {
734		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
735		if ms.LoadMessageInfo() == nil {
736			ms.StoreMessageInfo(mi)
737		}
738		return ms
739	}
740	return mi.MessageOf(x)
741}
742
743// Deprecated: Use SetVariableRequest.ProtoReflect.Descriptor instead.
744func (*SetVariableRequest) Descriptor() ([]byte, []int) {
745	return file_ermite_ci_settings_proto_rawDescGZIP(), []int{11}
746}
747
748func (x *SetVariableRequest) GetScope() *SettingsScope {
749	if x != nil {
750		return x.Scope
751	}
752	return nil
753}
754
755func (x *SetVariableRequest) GetName() string {
756	if x != nil {
757		return x.Name
758	}
759	return ""
760}
761
762func (x *SetVariableRequest) GetValue() string {
763	if x != nil {
764		return x.Value
765	}
766	return ""
767}
768
769// SetVariableResponse holds the stored variable.
770type SetVariableResponse struct {
771	state protoimpl.MessageState `protogen:"open.v1"`
772	// Variable is the variable as stored.
773	Variable      *Variable `protobuf:"bytes,1,opt,name=variable,proto3" json:"variable,omitempty"`
774	unknownFields protoimpl.UnknownFields
775	sizeCache     protoimpl.SizeCache
776}
777
778func (x *SetVariableResponse) Reset() {
779	*x = SetVariableResponse{}
780	mi := &file_ermite_ci_settings_proto_msgTypes[12]
781	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
782	ms.StoreMessageInfo(mi)
783}
784
785func (x *SetVariableResponse) String() string {
786	return protoimpl.X.MessageStringOf(x)
787}
788
789func (*SetVariableResponse) ProtoMessage() {}
790
791func (x *SetVariableResponse) ProtoReflect() protoreflect.Message {
792	mi := &file_ermite_ci_settings_proto_msgTypes[12]
793	if x != nil {
794		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
795		if ms.LoadMessageInfo() == nil {
796			ms.StoreMessageInfo(mi)
797		}
798		return ms
799	}
800	return mi.MessageOf(x)
801}
802
803// Deprecated: Use SetVariableResponse.ProtoReflect.Descriptor instead.
804func (*SetVariableResponse) Descriptor() ([]byte, []int) {
805	return file_ermite_ci_settings_proto_rawDescGZIP(), []int{12}
806}
807
808func (x *SetVariableResponse) GetVariable() *Variable {
809	if x != nil {
810		return x.Variable
811	}
812	return nil
813}
814
815// GetVariableRequest names a variable.
816type GetVariableRequest struct {
817	state protoimpl.MessageState `protogen:"open.v1"`
818	// Scope is where the variable lives.
819	Scope *SettingsScope `protobuf:"bytes,1,opt,name=scope,proto3" json:"scope,omitempty"`
820	// Name is the name of the variable, without regard to case.
821	Name          string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
822	unknownFields protoimpl.UnknownFields
823	sizeCache     protoimpl.SizeCache
824}
825
826func (x *GetVariableRequest) Reset() {
827	*x = GetVariableRequest{}
828	mi := &file_ermite_ci_settings_proto_msgTypes[13]
829	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
830	ms.StoreMessageInfo(mi)
831}
832
833func (x *GetVariableRequest) String() string {
834	return protoimpl.X.MessageStringOf(x)
835}
836
837func (*GetVariableRequest) ProtoMessage() {}
838
839func (x *GetVariableRequest) ProtoReflect() protoreflect.Message {
840	mi := &file_ermite_ci_settings_proto_msgTypes[13]
841	if x != nil {
842		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
843		if ms.LoadMessageInfo() == nil {
844			ms.StoreMessageInfo(mi)
845		}
846		return ms
847	}
848	return mi.MessageOf(x)
849}
850
851// Deprecated: Use GetVariableRequest.ProtoReflect.Descriptor instead.
852func (*GetVariableRequest) Descriptor() ([]byte, []int) {
853	return file_ermite_ci_settings_proto_rawDescGZIP(), []int{13}
854}
855
856func (x *GetVariableRequest) GetScope() *SettingsScope {
857	if x != nil {
858		return x.Scope
859	}
860	return nil
861}
862
863func (x *GetVariableRequest) GetName() string {
864	if x != nil {
865		return x.Name
866	}
867	return ""
868}
869
870// GetVariableResponse holds a variable.
871type GetVariableResponse struct {
872	state protoimpl.MessageState `protogen:"open.v1"`
873	// Variable is the variable.
874	Variable      *Variable `protobuf:"bytes,1,opt,name=variable,proto3" json:"variable,omitempty"`
875	unknownFields protoimpl.UnknownFields
876	sizeCache     protoimpl.SizeCache
877}
878
879func (x *GetVariableResponse) Reset() {
880	*x = GetVariableResponse{}
881	mi := &file_ermite_ci_settings_proto_msgTypes[14]
882	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
883	ms.StoreMessageInfo(mi)
884}
885
886func (x *GetVariableResponse) String() string {
887	return protoimpl.X.MessageStringOf(x)
888}
889
890func (*GetVariableResponse) ProtoMessage() {}
891
892func (x *GetVariableResponse) ProtoReflect() protoreflect.Message {
893	mi := &file_ermite_ci_settings_proto_msgTypes[14]
894	if x != nil {
895		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
896		if ms.LoadMessageInfo() == nil {
897			ms.StoreMessageInfo(mi)
898		}
899		return ms
900	}
901	return mi.MessageOf(x)
902}
903
904// Deprecated: Use GetVariableResponse.ProtoReflect.Descriptor instead.
905func (*GetVariableResponse) Descriptor() ([]byte, []int) {
906	return file_ermite_ci_settings_proto_rawDescGZIP(), []int{14}
907}
908
909func (x *GetVariableResponse) GetVariable() *Variable {
910	if x != nil {
911		return x.Variable
912	}
913	return nil
914}
915
916// ListVariablesRequest selects a page of the variables of a scope.
917type ListVariablesRequest struct {
918	state protoimpl.MessageState `protogen:"open.v1"`
919	// Scope is the scope to list.
920	Scope *SettingsScope `protobuf:"bytes,1,opt,name=scope,proto3" json:"scope,omitempty"`
921	// PageSize is the maximum number of variables to return. 0 means the server
922	// default; values above the server maximum are lowered to it.
923	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
924	// PageToken is the next_page_token of a previous response. Empty for the
925	// first page.
926	PageToken     string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
927	unknownFields protoimpl.UnknownFields
928	sizeCache     protoimpl.SizeCache
929}
930
931func (x *ListVariablesRequest) Reset() {
932	*x = ListVariablesRequest{}
933	mi := &file_ermite_ci_settings_proto_msgTypes[15]
934	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
935	ms.StoreMessageInfo(mi)
936}
937
938func (x *ListVariablesRequest) String() string {
939	return protoimpl.X.MessageStringOf(x)
940}
941
942func (*ListVariablesRequest) ProtoMessage() {}
943
944func (x *ListVariablesRequest) ProtoReflect() protoreflect.Message {
945	mi := &file_ermite_ci_settings_proto_msgTypes[15]
946	if x != nil {
947		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
948		if ms.LoadMessageInfo() == nil {
949			ms.StoreMessageInfo(mi)
950		}
951		return ms
952	}
953	return mi.MessageOf(x)
954}
955
956// Deprecated: Use ListVariablesRequest.ProtoReflect.Descriptor instead.
957func (*ListVariablesRequest) Descriptor() ([]byte, []int) {
958	return file_ermite_ci_settings_proto_rawDescGZIP(), []int{15}
959}
960
961func (x *ListVariablesRequest) GetScope() *SettingsScope {
962	if x != nil {
963		return x.Scope
964	}
965	return nil
966}
967
968func (x *ListVariablesRequest) GetPageSize() int32 {
969	if x != nil {
970		return x.PageSize
971	}
972	return 0
973}
974
975func (x *ListVariablesRequest) GetPageToken() string {
976	if x != nil {
977		return x.PageToken
978	}
979	return ""
980}
981
982// ListVariablesResponse is one page of variables.
983type ListVariablesResponse struct {
984	state protoimpl.MessageState `protogen:"open.v1"`
985	// Variables are the variables of this page, ordered by name.
986	Variables []*Variable `protobuf:"bytes,1,rep,name=variables,proto3" json:"variables,omitempty"`
987	// NextPageToken is passed as page_token to get the next page. Empty when
988	// there is no next page.
989	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
990	unknownFields protoimpl.UnknownFields
991	sizeCache     protoimpl.SizeCache
992}
993
994func (x *ListVariablesResponse) Reset() {
995	*x = ListVariablesResponse{}
996	mi := &file_ermite_ci_settings_proto_msgTypes[16]
997	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
998	ms.StoreMessageInfo(mi)
999}
1000
1001func (x *ListVariablesResponse) String() string {
1002	return protoimpl.X.MessageStringOf(x)
1003}
1004
1005func (*ListVariablesResponse) ProtoMessage() {}
1006
1007func (x *ListVariablesResponse) ProtoReflect() protoreflect.Message {
1008	mi := &file_ermite_ci_settings_proto_msgTypes[16]
1009	if x != nil {
1010		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1011		if ms.LoadMessageInfo() == nil {
1012			ms.StoreMessageInfo(mi)
1013		}
1014		return ms
1015	}
1016	return mi.MessageOf(x)
1017}
1018
1019// Deprecated: Use ListVariablesResponse.ProtoReflect.Descriptor instead.
1020func (*ListVariablesResponse) Descriptor() ([]byte, []int) {
1021	return file_ermite_ci_settings_proto_rawDescGZIP(), []int{16}
1022}
1023
1024func (x *ListVariablesResponse) GetVariables() []*Variable {
1025	if x != nil {
1026		return x.Variables
1027	}
1028	return nil
1029}
1030
1031func (x *ListVariablesResponse) GetNextPageToken() string {
1032	if x != nil {
1033		return x.NextPageToken
1034	}
1035	return ""
1036}
1037
1038// DeleteVariableRequest names the variable to delete.
1039type DeleteVariableRequest struct {
1040	state protoimpl.MessageState `protogen:"open.v1"`
1041	// Scope is where the variable lives.
1042	Scope *SettingsScope `protobuf:"bytes,1,opt,name=scope,proto3" json:"scope,omitempty"`
1043	// Name is the name of the variable, without regard to case.
1044	Name          string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
1045	unknownFields protoimpl.UnknownFields
1046	sizeCache     protoimpl.SizeCache
1047}
1048
1049func (x *DeleteVariableRequest) Reset() {
1050	*x = DeleteVariableRequest{}
1051	mi := &file_ermite_ci_settings_proto_msgTypes[17]
1052	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1053	ms.StoreMessageInfo(mi)
1054}
1055
1056func (x *DeleteVariableRequest) String() string {
1057	return protoimpl.X.MessageStringOf(x)
1058}
1059
1060func (*DeleteVariableRequest) ProtoMessage() {}
1061
1062func (x *DeleteVariableRequest) ProtoReflect() protoreflect.Message {
1063	mi := &file_ermite_ci_settings_proto_msgTypes[17]
1064	if x != nil {
1065		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1066		if ms.LoadMessageInfo() == nil {
1067			ms.StoreMessageInfo(mi)
1068		}
1069		return ms
1070	}
1071	return mi.MessageOf(x)
1072}
1073
1074// Deprecated: Use DeleteVariableRequest.ProtoReflect.Descriptor instead.
1075func (*DeleteVariableRequest) Descriptor() ([]byte, []int) {
1076	return file_ermite_ci_settings_proto_rawDescGZIP(), []int{17}
1077}
1078
1079func (x *DeleteVariableRequest) GetScope() *SettingsScope {
1080	if x != nil {
1081		return x.Scope
1082	}
1083	return nil
1084}
1085
1086func (x *DeleteVariableRequest) GetName() string {
1087	if x != nil {
1088		return x.Name
1089	}
1090	return ""
1091}
1092
1093// DeleteVariableResponse is empty.
1094type DeleteVariableResponse struct {
1095	state         protoimpl.MessageState `protogen:"open.v1"`
1096	unknownFields protoimpl.UnknownFields
1097	sizeCache     protoimpl.SizeCache
1098}
1099
1100func (x *DeleteVariableResponse) Reset() {
1101	*x = DeleteVariableResponse{}
1102	mi := &file_ermite_ci_settings_proto_msgTypes[18]
1103	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1104	ms.StoreMessageInfo(mi)
1105}
1106
1107func (x *DeleteVariableResponse) String() string {
1108	return protoimpl.X.MessageStringOf(x)
1109}
1110
1111func (*DeleteVariableResponse) ProtoMessage() {}
1112
1113func (x *DeleteVariableResponse) ProtoReflect() protoreflect.Message {
1114	mi := &file_ermite_ci_settings_proto_msgTypes[18]
1115	if x != nil {
1116		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1117		if ms.LoadMessageInfo() == nil {
1118			ms.StoreMessageInfo(mi)
1119		}
1120		return ms
1121	}
1122	return mi.MessageOf(x)
1123}
1124
1125// Deprecated: Use DeleteVariableResponse.ProtoReflect.Descriptor instead.
1126func (*DeleteVariableResponse) Descriptor() ([]byte, []int) {
1127	return file_ermite_ci_settings_proto_rawDescGZIP(), []int{18}
1128}
1129
1130// CreateEnvironmentRequest names the environment to create.
1131type CreateEnvironmentRequest struct {
1132	state protoimpl.MessageState `protogen:"open.v1"`
1133	// Repo is the repository name.
1134	Repo string `protobuf:"bytes,1,opt,name=repo,proto3" json:"repo,omitempty"`
1135	// Name is the name of the environment, see Environment.name.
1136	Name          string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
1137	unknownFields protoimpl.UnknownFields
1138	sizeCache     protoimpl.SizeCache
1139}
1140
1141func (x *CreateEnvironmentRequest) Reset() {
1142	*x = CreateEnvironmentRequest{}
1143	mi := &file_ermite_ci_settings_proto_msgTypes[19]
1144	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1145	ms.StoreMessageInfo(mi)
1146}
1147
1148func (x *CreateEnvironmentRequest) String() string {
1149	return protoimpl.X.MessageStringOf(x)
1150}
1151
1152func (*CreateEnvironmentRequest) ProtoMessage() {}
1153
1154func (x *CreateEnvironmentRequest) ProtoReflect() protoreflect.Message {
1155	mi := &file_ermite_ci_settings_proto_msgTypes[19]
1156	if x != nil {
1157		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1158		if ms.LoadMessageInfo() == nil {
1159			ms.StoreMessageInfo(mi)
1160		}
1161		return ms
1162	}
1163	return mi.MessageOf(x)
1164}
1165
1166// Deprecated: Use CreateEnvironmentRequest.ProtoReflect.Descriptor instead.
1167func (*CreateEnvironmentRequest) Descriptor() ([]byte, []int) {
1168	return file_ermite_ci_settings_proto_rawDescGZIP(), []int{19}
1169}
1170
1171func (x *CreateEnvironmentRequest) GetRepo() string {
1172	if x != nil {
1173		return x.Repo
1174	}
1175	return ""
1176}
1177
1178func (x *CreateEnvironmentRequest) GetName() string {
1179	if x != nil {
1180		return x.Name
1181	}
1182	return ""
1183}
1184
1185// CreateEnvironmentResponse holds the environment.
1186type CreateEnvironmentResponse struct {
1187	state protoimpl.MessageState `protogen:"open.v1"`
1188	// Environment is the environment, new or existing.
1189	Environment   *Environment `protobuf:"bytes,1,opt,name=environment,proto3" json:"environment,omitempty"`
1190	unknownFields protoimpl.UnknownFields
1191	sizeCache     protoimpl.SizeCache
1192}
1193
1194func (x *CreateEnvironmentResponse) Reset() {
1195	*x = CreateEnvironmentResponse{}
1196	mi := &file_ermite_ci_settings_proto_msgTypes[20]
1197	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1198	ms.StoreMessageInfo(mi)
1199}
1200
1201func (x *CreateEnvironmentResponse) String() string {
1202	return protoimpl.X.MessageStringOf(x)
1203}
1204
1205func (*CreateEnvironmentResponse) ProtoMessage() {}
1206
1207func (x *CreateEnvironmentResponse) ProtoReflect() protoreflect.Message {
1208	mi := &file_ermite_ci_settings_proto_msgTypes[20]
1209	if x != nil {
1210		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1211		if ms.LoadMessageInfo() == nil {
1212			ms.StoreMessageInfo(mi)
1213		}
1214		return ms
1215	}
1216	return mi.MessageOf(x)
1217}
1218
1219// Deprecated: Use CreateEnvironmentResponse.ProtoReflect.Descriptor instead.
1220func (*CreateEnvironmentResponse) Descriptor() ([]byte, []int) {
1221	return file_ermite_ci_settings_proto_rawDescGZIP(), []int{20}
1222}
1223
1224func (x *CreateEnvironmentResponse) GetEnvironment() *Environment {
1225	if x != nil {
1226		return x.Environment
1227	}
1228	return nil
1229}
1230
1231// ListEnvironmentsRequest selects a page of the environments of a repository.
1232type ListEnvironmentsRequest struct {
1233	state protoimpl.MessageState `protogen:"open.v1"`
1234	// Repo is the repository name.
1235	Repo string `protobuf:"bytes,1,opt,name=repo,proto3" json:"repo,omitempty"`
1236	// PageSize is the maximum number of environments to return. 0 means the
1237	// server default; values above the server maximum are lowered to it.
1238	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
1239	// PageToken is the next_page_token of a previous response. Empty for the
1240	// first page.
1241	PageToken     string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
1242	unknownFields protoimpl.UnknownFields
1243	sizeCache     protoimpl.SizeCache
1244}
1245
1246func (x *ListEnvironmentsRequest) Reset() {
1247	*x = ListEnvironmentsRequest{}
1248	mi := &file_ermite_ci_settings_proto_msgTypes[21]
1249	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1250	ms.StoreMessageInfo(mi)
1251}
1252
1253func (x *ListEnvironmentsRequest) String() string {
1254	return protoimpl.X.MessageStringOf(x)
1255}
1256
1257func (*ListEnvironmentsRequest) ProtoMessage() {}
1258
1259func (x *ListEnvironmentsRequest) ProtoReflect() protoreflect.Message {
1260	mi := &file_ermite_ci_settings_proto_msgTypes[21]
1261	if x != nil {
1262		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1263		if ms.LoadMessageInfo() == nil {
1264			ms.StoreMessageInfo(mi)
1265		}
1266		return ms
1267	}
1268	return mi.MessageOf(x)
1269}
1270
1271// Deprecated: Use ListEnvironmentsRequest.ProtoReflect.Descriptor instead.
1272func (*ListEnvironmentsRequest) Descriptor() ([]byte, []int) {
1273	return file_ermite_ci_settings_proto_rawDescGZIP(), []int{21}
1274}
1275
1276func (x *ListEnvironmentsRequest) GetRepo() string {
1277	if x != nil {
1278		return x.Repo
1279	}
1280	return ""
1281}
1282
1283func (x *ListEnvironmentsRequest) GetPageSize() int32 {
1284	if x != nil {
1285		return x.PageSize
1286	}
1287	return 0
1288}
1289
1290func (x *ListEnvironmentsRequest) GetPageToken() string {
1291	if x != nil {
1292		return x.PageToken
1293	}
1294	return ""
1295}
1296
1297// ListEnvironmentsResponse is one page of environments.
1298type ListEnvironmentsResponse struct {
1299	state protoimpl.MessageState `protogen:"open.v1"`
1300	// Environments are the environments of this page, ordered by name.
1301	Environments []*Environment `protobuf:"bytes,1,rep,name=environments,proto3" json:"environments,omitempty"`
1302	// NextPageToken is passed as page_token to get the next page. Empty when
1303	// there is no next page.
1304	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
1305	unknownFields protoimpl.UnknownFields
1306	sizeCache     protoimpl.SizeCache
1307}
1308
1309func (x *ListEnvironmentsResponse) Reset() {
1310	*x = ListEnvironmentsResponse{}
1311	mi := &file_ermite_ci_settings_proto_msgTypes[22]
1312	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1313	ms.StoreMessageInfo(mi)
1314}
1315
1316func (x *ListEnvironmentsResponse) String() string {
1317	return protoimpl.X.MessageStringOf(x)
1318}
1319
1320func (*ListEnvironmentsResponse) ProtoMessage() {}
1321
1322func (x *ListEnvironmentsResponse) ProtoReflect() protoreflect.Message {
1323	mi := &file_ermite_ci_settings_proto_msgTypes[22]
1324	if x != nil {
1325		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1326		if ms.LoadMessageInfo() == nil {
1327			ms.StoreMessageInfo(mi)
1328		}
1329		return ms
1330	}
1331	return mi.MessageOf(x)
1332}
1333
1334// Deprecated: Use ListEnvironmentsResponse.ProtoReflect.Descriptor instead.
1335func (*ListEnvironmentsResponse) Descriptor() ([]byte, []int) {
1336	return file_ermite_ci_settings_proto_rawDescGZIP(), []int{22}
1337}
1338
1339func (x *ListEnvironmentsResponse) GetEnvironments() []*Environment {
1340	if x != nil {
1341		return x.Environments
1342	}
1343	return nil
1344}
1345
1346func (x *ListEnvironmentsResponse) GetNextPageToken() string {
1347	if x != nil {
1348		return x.NextPageToken
1349	}
1350	return ""
1351}
1352
1353// DeleteEnvironmentRequest names the environment to delete.
1354type DeleteEnvironmentRequest struct {
1355	state protoimpl.MessageState `protogen:"open.v1"`
1356	// Repo is the repository name.
1357	Repo string `protobuf:"bytes,1,opt,name=repo,proto3" json:"repo,omitempty"`
1358	// Name is the name of the environment, without regard to case.
1359	Name          string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
1360	unknownFields protoimpl.UnknownFields
1361	sizeCache     protoimpl.SizeCache
1362}
1363
1364func (x *DeleteEnvironmentRequest) Reset() {
1365	*x = DeleteEnvironmentRequest{}
1366	mi := &file_ermite_ci_settings_proto_msgTypes[23]
1367	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1368	ms.StoreMessageInfo(mi)
1369}
1370
1371func (x *DeleteEnvironmentRequest) String() string {
1372	return protoimpl.X.MessageStringOf(x)
1373}
1374
1375func (*DeleteEnvironmentRequest) ProtoMessage() {}
1376
1377func (x *DeleteEnvironmentRequest) ProtoReflect() protoreflect.Message {
1378	mi := &file_ermite_ci_settings_proto_msgTypes[23]
1379	if x != nil {
1380		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1381		if ms.LoadMessageInfo() == nil {
1382			ms.StoreMessageInfo(mi)
1383		}
1384		return ms
1385	}
1386	return mi.MessageOf(x)
1387}
1388
1389// Deprecated: Use DeleteEnvironmentRequest.ProtoReflect.Descriptor instead.
1390func (*DeleteEnvironmentRequest) Descriptor() ([]byte, []int) {
1391	return file_ermite_ci_settings_proto_rawDescGZIP(), []int{23}
1392}
1393
1394func (x *DeleteEnvironmentRequest) GetRepo() string {
1395	if x != nil {
1396		return x.Repo
1397	}
1398	return ""
1399}
1400
1401func (x *DeleteEnvironmentRequest) GetName() string {
1402	if x != nil {
1403		return x.Name
1404	}
1405	return ""
1406}
1407
1408// DeleteEnvironmentResponse is empty.
1409type DeleteEnvironmentResponse struct {
1410	state         protoimpl.MessageState `protogen:"open.v1"`
1411	unknownFields protoimpl.UnknownFields
1412	sizeCache     protoimpl.SizeCache
1413}
1414
1415func (x *DeleteEnvironmentResponse) Reset() {
1416	*x = DeleteEnvironmentResponse{}
1417	mi := &file_ermite_ci_settings_proto_msgTypes[24]
1418	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1419	ms.StoreMessageInfo(mi)
1420}
1421
1422func (x *DeleteEnvironmentResponse) String() string {
1423	return protoimpl.X.MessageStringOf(x)
1424}
1425
1426func (*DeleteEnvironmentResponse) ProtoMessage() {}
1427
1428func (x *DeleteEnvironmentResponse) ProtoReflect() protoreflect.Message {
1429	mi := &file_ermite_ci_settings_proto_msgTypes[24]
1430	if x != nil {
1431		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1432		if ms.LoadMessageInfo() == nil {
1433			ms.StoreMessageInfo(mi)
1434		}
1435		return ms
1436	}
1437	return mi.MessageOf(x)
1438}
1439
1440// Deprecated: Use DeleteEnvironmentResponse.ProtoReflect.Descriptor instead.
1441func (*DeleteEnvironmentResponse) Descriptor() ([]byte, []int) {
1442	return file_ermite_ci_settings_proto_rawDescGZIP(), []int{24}
1443}
1444
1445var File_ermite_ci_settings_proto protoreflect.FileDescriptor
1446
1447const file_ermite_ci_settings_proto_rawDesc = "" +
1448	"\n" +
1449	"\x18ermite/ci_settings.proto\x12\x06ermite\x1a\x1fgoogle/protobuf/timestamp.proto\"\x88\x01\n" +
1450	"\rSettingsScope\x12\x1c\n" +
1451	"\binstance\x18\x01 \x01(\bH\x00R\binstance\x12\x14\n" +
1452	"\x04repo\x18\x02 \x01(\tH\x00R\x04repo\x12:\n" +
1453	"\venvironment\x18\x03 \x01(\v2\x16.ermite.EnvironmentRefH\x00R\venvironmentB\a\n" +
1454	"\x05where\"8\n" +
1455	"\x0eEnvironmentRef\x12\x12\n" +
1456	"\x04repo\x18\x01 \x01(\tR\x04repo\x12\x12\n" +
1457	"\x04name\x18\x02 \x01(\tR\x04name\"W\n" +
1458	"\x06Secret\x12\x12\n" +
1459	"\x04name\x18\x01 \x01(\tR\x04name\x129\n" +
1460	"\n" +
1461	"updated_at\x18\x02 \x01(\v2\x1a.google.protobuf.TimestampR\tupdatedAt\"o\n" +
1462	"\bVariable\x12\x12\n" +
1463	"\x04name\x18\x01 \x01(\tR\x04name\x12\x14\n" +
1464	"\x05value\x18\x02 \x01(\tR\x05value\x129\n" +
1465	"\n" +
1466	"updated_at\x18\x03 \x01(\v2\x1a.google.protobuf.TimestampR\tupdatedAt\"p\n" +
1467	"\vEnvironment\x12\x12\n" +
1468	"\x04repo\x18\x01 \x01(\tR\x04repo\x12\x12\n" +
1469	"\x04name\x18\x02 \x01(\tR\x04name\x129\n" +
1470	"\n" +
1471	"created_at\x18\x03 \x01(\v2\x1a.google.protobuf.TimestampR\tcreatedAt\"i\n" +
1472	"\x10SetSecretRequest\x12+\n" +
1473	"\x05scope\x18\x01 \x01(\v2\x15.ermite.SettingsScopeR\x05scope\x12\x12\n" +
1474	"\x04name\x18\x02 \x01(\tR\x04name\x12\x14\n" +
1475	"\x05value\x18\x03 \x01(\tR\x05value\";\n" +
1476	"\x11SetSecretResponse\x12&\n" +
1477	"\x06secret\x18\x01 \x01(\v2\x0e.ermite.SecretR\x06secret\"}\n" +
1478	"\x12ListSecretsRequest\x12+\n" +
1479	"\x05scope\x18\x01 \x01(\v2\x15.ermite.SettingsScopeR\x05scope\x12\x1b\n" +
1480	"\tpage_size\x18\x02 \x01(\x05R\bpageSize\x12\x1d\n" +
1481	"\n" +
1482	"page_token\x18\x03 \x01(\tR\tpageToken\"g\n" +
1483	"\x13ListSecretsResponse\x12(\n" +
1484	"\asecrets\x18\x01 \x03(\v2\x0e.ermite.SecretR\asecrets\x12&\n" +
1485	"\x0fnext_page_token\x18\x02 \x01(\tR\rnextPageToken\"V\n" +
1486	"\x13DeleteSecretRequest\x12+\n" +
1487	"\x05scope\x18\x01 \x01(\v2\x15.ermite.SettingsScopeR\x05scope\x12\x12\n" +
1488	"\x04name\x18\x02 \x01(\tR\x04name\"\x16\n" +
1489	"\x14DeleteSecretResponse\"k\n" +
1490	"\x12SetVariableRequest\x12+\n" +
1491	"\x05scope\x18\x01 \x01(\v2\x15.ermite.SettingsScopeR\x05scope\x12\x12\n" +
1492	"\x04name\x18\x02 \x01(\tR\x04name\x12\x14\n" +
1493	"\x05value\x18\x03 \x01(\tR\x05value\"C\n" +
1494	"\x13SetVariableResponse\x12,\n" +
1495	"\bvariable\x18\x01 \x01(\v2\x10.ermite.VariableR\bvariable\"U\n" +
1496	"\x12GetVariableRequest\x12+\n" +
1497	"\x05scope\x18\x01 \x01(\v2\x15.ermite.SettingsScopeR\x05scope\x12\x12\n" +
1498	"\x04name\x18\x02 \x01(\tR\x04name\"C\n" +
1499	"\x13GetVariableResponse\x12,\n" +
1500	"\bvariable\x18\x01 \x01(\v2\x10.ermite.VariableR\bvariable\"\x7f\n" +
1501	"\x14ListVariablesRequest\x12+\n" +
1502	"\x05scope\x18\x01 \x01(\v2\x15.ermite.SettingsScopeR\x05scope\x12\x1b\n" +
1503	"\tpage_size\x18\x02 \x01(\x05R\bpageSize\x12\x1d\n" +
1504	"\n" +
1505	"page_token\x18\x03 \x01(\tR\tpageToken\"o\n" +
1506	"\x15ListVariablesResponse\x12.\n" +
1507	"\tvariables\x18\x01 \x03(\v2\x10.ermite.VariableR\tvariables\x12&\n" +
1508	"\x0fnext_page_token\x18\x02 \x01(\tR\rnextPageToken\"X\n" +
1509	"\x15DeleteVariableRequest\x12+\n" +
1510	"\x05scope\x18\x01 \x01(\v2\x15.ermite.SettingsScopeR\x05scope\x12\x12\n" +
1511	"\x04name\x18\x02 \x01(\tR\x04name\"\x18\n" +
1512	"\x16DeleteVariableResponse\"B\n" +
1513	"\x18CreateEnvironmentRequest\x12\x12\n" +
1514	"\x04repo\x18\x01 \x01(\tR\x04repo\x12\x12\n" +
1515	"\x04name\x18\x02 \x01(\tR\x04name\"R\n" +
1516	"\x19CreateEnvironmentResponse\x125\n" +
1517	"\venvironment\x18\x01 \x01(\v2\x13.ermite.EnvironmentR\venvironment\"i\n" +
1518	"\x17ListEnvironmentsRequest\x12\x12\n" +
1519	"\x04repo\x18\x01 \x01(\tR\x04repo\x12\x1b\n" +
1520	"\tpage_size\x18\x02 \x01(\x05R\bpageSize\x12\x1d\n" +
1521	"\n" +
1522	"page_token\x18\x03 \x01(\tR\tpageToken\"{\n" +
1523	"\x18ListEnvironmentsResponse\x127\n" +
1524	"\fenvironments\x18\x01 \x03(\v2\x13.ermite.EnvironmentR\fenvironments\x12&\n" +
1525	"\x0fnext_page_token\x18\x02 \x01(\tR\rnextPageToken\"B\n" +
1526	"\x18DeleteEnvironmentRequest\x12\x12\n" +
1527	"\x04repo\x18\x01 \x01(\tR\x04repo\x12\x12\n" +
1528	"\x04name\x18\x02 \x01(\tR\x04name\"\x1b\n" +
1529	"\x19DeleteEnvironmentResponse2\xe4\x01\n" +
1530	"\rSecretService\x12@\n" +
1531	"\tSetSecret\x12\x18.ermite.SetSecretRequest\x1a\x19.ermite.SetSecretResponse\x12F\n" +
1532	"\vListSecrets\x12\x1a.ermite.ListSecretsRequest\x1a\x1b.ermite.ListSecretsResponse\x12I\n" +
1533	"\fDeleteSecret\x12\x1b.ermite.DeleteSecretRequest\x1a\x1c.ermite.DeleteSecretResponse2\xc0\x02\n" +
1534	"\x0fVariableService\x12F\n" +
1535	"\vSetVariable\x12\x1a.ermite.SetVariableRequest\x1a\x1b.ermite.SetVariableResponse\x12F\n" +
1536	"\vGetVariable\x12\x1a.ermite.GetVariableRequest\x1a\x1b.ermite.GetVariableResponse\x12L\n" +
1537	"\rListVariables\x12\x1c.ermite.ListVariablesRequest\x1a\x1d.ermite.ListVariablesResponse\x12O\n" +
1538	"\x0eDeleteVariable\x12\x1d.ermite.DeleteVariableRequest\x1a\x1e.ermite.DeleteVariableResponse2\x9f\x02\n" +
1539	"\x12EnvironmentService\x12X\n" +
1540	"\x11CreateEnvironment\x12 .ermite.CreateEnvironmentRequest\x1a!.ermite.CreateEnvironmentResponse\x12U\n" +
1541	"\x10ListEnvironments\x12\x1f.ermite.ListEnvironmentsRequest\x1a .ermite.ListEnvironmentsResponse\x12X\n" +
1542	"\x11DeleteEnvironment\x12 .ermite.DeleteEnvironmentRequest\x1a!.ermite.DeleteEnvironmentResponseBv\n" +
1543	"\n" +
1544	"com.ermiteB\x0fCiSettingsProtoP\x01Z\x1fbnema.dev/ermite-api/gen/ermite\xa2\x02\x03EXX\xaa\x02\x06Ermite\xca\x02\x06Ermite\xe2\x02\x12Ermite\\GPBMetadata\xea\x02\x06Ermiteb\x06proto3"
1545
1546var (
1547	file_ermite_ci_settings_proto_rawDescOnce sync.Once
1548	file_ermite_ci_settings_proto_rawDescData []byte
1549)
1550
1551func file_ermite_ci_settings_proto_rawDescGZIP() []byte {
1552	file_ermite_ci_settings_proto_rawDescOnce.Do(func() {
1553		file_ermite_ci_settings_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_ermite_ci_settings_proto_rawDesc), len(file_ermite_ci_settings_proto_rawDesc)))
1554	})
1555	return file_ermite_ci_settings_proto_rawDescData
1556}
1557
1558var file_ermite_ci_settings_proto_msgTypes = make([]protoimpl.MessageInfo, 25)
1559var file_ermite_ci_settings_proto_goTypes = []any{
1560	(*SettingsScope)(nil),             // 0: ermite.SettingsScope
1561	(*EnvironmentRef)(nil),            // 1: ermite.EnvironmentRef
1562	(*Secret)(nil),                    // 2: ermite.Secret
1563	(*Variable)(nil),                  // 3: ermite.Variable
1564	(*Environment)(nil),               // 4: ermite.Environment
1565	(*SetSecretRequest)(nil),          // 5: ermite.SetSecretRequest
1566	(*SetSecretResponse)(nil),         // 6: ermite.SetSecretResponse
1567	(*ListSecretsRequest)(nil),        // 7: ermite.ListSecretsRequest
1568	(*ListSecretsResponse)(nil),       // 8: ermite.ListSecretsResponse
1569	(*DeleteSecretRequest)(nil),       // 9: ermite.DeleteSecretRequest
1570	(*DeleteSecretResponse)(nil),      // 10: ermite.DeleteSecretResponse
1571	(*SetVariableRequest)(nil),        // 11: ermite.SetVariableRequest
1572	(*SetVariableResponse)(nil),       // 12: ermite.SetVariableResponse
1573	(*GetVariableRequest)(nil),        // 13: ermite.GetVariableRequest
1574	(*GetVariableResponse)(nil),       // 14: ermite.GetVariableResponse
1575	(*ListVariablesRequest)(nil),      // 15: ermite.ListVariablesRequest
1576	(*ListVariablesResponse)(nil),     // 16: ermite.ListVariablesResponse
1577	(*DeleteVariableRequest)(nil),     // 17: ermite.DeleteVariableRequest
1578	(*DeleteVariableResponse)(nil),    // 18: ermite.DeleteVariableResponse
1579	(*CreateEnvironmentRequest)(nil),  // 19: ermite.CreateEnvironmentRequest
1580	(*CreateEnvironmentResponse)(nil), // 20: ermite.CreateEnvironmentResponse
1581	(*ListEnvironmentsRequest)(nil),   // 21: ermite.ListEnvironmentsRequest
1582	(*ListEnvironmentsResponse)(nil),  // 22: ermite.ListEnvironmentsResponse
1583	(*DeleteEnvironmentRequest)(nil),  // 23: ermite.DeleteEnvironmentRequest
1584	(*DeleteEnvironmentResponse)(nil), // 24: ermite.DeleteEnvironmentResponse
1585	(*timestamppb.Timestamp)(nil),     // 25: google.protobuf.Timestamp
1586}
1587var file_ermite_ci_settings_proto_depIdxs = []int32{
1588	1,  // 0: ermite.SettingsScope.environment:type_name -> ermite.EnvironmentRef
1589	25, // 1: ermite.Secret.updated_at:type_name -> google.protobuf.Timestamp
1590	25, // 2: ermite.Variable.updated_at:type_name -> google.protobuf.Timestamp
1591	25, // 3: ermite.Environment.created_at:type_name -> google.protobuf.Timestamp
1592	0,  // 4: ermite.SetSecretRequest.scope:type_name -> ermite.SettingsScope
1593	2,  // 5: ermite.SetSecretResponse.secret:type_name -> ermite.Secret
1594	0,  // 6: ermite.ListSecretsRequest.scope:type_name -> ermite.SettingsScope
1595	2,  // 7: ermite.ListSecretsResponse.secrets:type_name -> ermite.Secret
1596	0,  // 8: ermite.DeleteSecretRequest.scope:type_name -> ermite.SettingsScope
1597	0,  // 9: ermite.SetVariableRequest.scope:type_name -> ermite.SettingsScope
1598	3,  // 10: ermite.SetVariableResponse.variable:type_name -> ermite.Variable
1599	0,  // 11: ermite.GetVariableRequest.scope:type_name -> ermite.SettingsScope
1600	3,  // 12: ermite.GetVariableResponse.variable:type_name -> ermite.Variable
1601	0,  // 13: ermite.ListVariablesRequest.scope:type_name -> ermite.SettingsScope
1602	3,  // 14: ermite.ListVariablesResponse.variables:type_name -> ermite.Variable
1603	0,  // 15: ermite.DeleteVariableRequest.scope:type_name -> ermite.SettingsScope
1604	4,  // 16: ermite.CreateEnvironmentResponse.environment:type_name -> ermite.Environment
1605	4,  // 17: ermite.ListEnvironmentsResponse.environments:type_name -> ermite.Environment
1606	5,  // 18: ermite.SecretService.SetSecret:input_type -> ermite.SetSecretRequest
1607	7,  // 19: ermite.SecretService.ListSecrets:input_type -> ermite.ListSecretsRequest
1608	9,  // 20: ermite.SecretService.DeleteSecret:input_type -> ermite.DeleteSecretRequest
1609	11, // 21: ermite.VariableService.SetVariable:input_type -> ermite.SetVariableRequest
1610	13, // 22: ermite.VariableService.GetVariable:input_type -> ermite.GetVariableRequest
1611	15, // 23: ermite.VariableService.ListVariables:input_type -> ermite.ListVariablesRequest
1612	17, // 24: ermite.VariableService.DeleteVariable:input_type -> ermite.DeleteVariableRequest
1613	19, // 25: ermite.EnvironmentService.CreateEnvironment:input_type -> ermite.CreateEnvironmentRequest
1614	21, // 26: ermite.EnvironmentService.ListEnvironments:input_type -> ermite.ListEnvironmentsRequest
1615	23, // 27: ermite.EnvironmentService.DeleteEnvironment:input_type -> ermite.DeleteEnvironmentRequest
1616	6,  // 28: ermite.SecretService.SetSecret:output_type -> ermite.SetSecretResponse
1617	8,  // 29: ermite.SecretService.ListSecrets:output_type -> ermite.ListSecretsResponse
1618	10, // 30: ermite.SecretService.DeleteSecret:output_type -> ermite.DeleteSecretResponse
1619	12, // 31: ermite.VariableService.SetVariable:output_type -> ermite.SetVariableResponse
1620	14, // 32: ermite.VariableService.GetVariable:output_type -> ermite.GetVariableResponse
1621	16, // 33: ermite.VariableService.ListVariables:output_type -> ermite.ListVariablesResponse
1622	18, // 34: ermite.VariableService.DeleteVariable:output_type -> ermite.DeleteVariableResponse
1623	20, // 35: ermite.EnvironmentService.CreateEnvironment:output_type -> ermite.CreateEnvironmentResponse
1624	22, // 36: ermite.EnvironmentService.ListEnvironments:output_type -> ermite.ListEnvironmentsResponse
1625	24, // 37: ermite.EnvironmentService.DeleteEnvironment:output_type -> ermite.DeleteEnvironmentResponse
1626	28, // [28:38] is the sub-list for method output_type
1627	18, // [18:28] is the sub-list for method input_type
1628	18, // [18:18] is the sub-list for extension type_name
1629	18, // [18:18] is the sub-list for extension extendee
1630	0,  // [0:18] is the sub-list for field type_name
1631}
1632
1633func init() { file_ermite_ci_settings_proto_init() }
1634func file_ermite_ci_settings_proto_init() {
1635	if File_ermite_ci_settings_proto != nil {
1636		return
1637	}
1638	file_ermite_ci_settings_proto_msgTypes[0].OneofWrappers = []any{
1639		(*SettingsScope_Instance)(nil),
1640		(*SettingsScope_Repo)(nil),
1641		(*SettingsScope_Environment)(nil),
1642	}
1643	type x struct{}
1644	out := protoimpl.TypeBuilder{
1645		File: protoimpl.DescBuilder{
1646			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
1647			RawDescriptor: unsafe.Slice(unsafe.StringData(file_ermite_ci_settings_proto_rawDesc), len(file_ermite_ci_settings_proto_rawDesc)),
1648			NumEnums:      0,
1649			NumMessages:   25,
1650			NumExtensions: 0,
1651			NumServices:   3,
1652		},
1653		GoTypes:           file_ermite_ci_settings_proto_goTypes,
1654		DependencyIndexes: file_ermite_ci_settings_proto_depIdxs,
1655		MessageInfos:      file_ermite_ci_settings_proto_msgTypes,
1656	}.Build()
1657	File_ermite_ci_settings_proto = out.File
1658	file_ermite_ci_settings_proto_goTypes = nil
1659	file_ermite_ci_settings_proto_depIdxs = nil
1660}

Keyboard shortcuts

Single-key shortcuts are on. ctrl k and esc work whatever this says.

ctrl k :
go to a section, branch, tag, file or repository
?
this list
j k
move the row cursor down / up
enter
open the row under the cursor; on Files, a directory opens or closes in place
↑ ↓ ← → home end
in the file tree (focus on a row): previous / next row, close / open a directory or go to its parent / first entry, first / last row. They never open a file
l h
on Files: open a directory or a file / close a directory or go up to its parent, then to the parent page. Elsewhere: into the side panel (on a merge request, its files) / back to the content; there j k move between its controls
g g G
first / last row
/
filter the list; on Files, find a file anywhere in the repository (esc clears, enter opens the best match)
b
switch branch or tag
g s g f g c g b g m g i g r g a
tabs: summary, files, commits, branches & tags, merge requests, issues, releases, actions (when available)
g h
home
w
wide mode: use the whole width of the screen, or not (remembered)
y
copy a permalink pinned to the commit
d u x
diff: split / unified / collapse or expand all
e E
diff: the whole file in view / every file, with the lines the hunks hide
n
merge request: next note in the diff
esc
close a dialog, leave a field

Branches 2

Tags 18

↑↓ moveenter openesc close