pb

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2021 License: Apache-2.0 Imports: 28 Imported by: 17

Documentation

Index

Constants

This section is empty.

Variables

Functions

func CmsServiceClientType

func CmsServiceClientType() reflect.Type

CmsServiceClientType .

func CmsServiceHandlerType

func CmsServiceHandlerType() reflect.Type

CmsServiceHandlerType .

func CmsServiceServerType

func CmsServiceServerType() reflect.Type

CmsServiceServerType .

func RegisterCmsServiceHandler

func RegisterCmsServiceHandler(r http.Router, srv CmsServiceHandler, opts ...http.HandleOption)

RegisterCmsServiceHandler register CmsServiceHandler to http.Router.

func RegisterCmsServiceImp

func RegisterCmsServiceImp(regester transport.Register, srv CmsServiceServer, opts ...transport.ServiceOption)

RegisterCmsServiceImp cms.proto

func RegisterCmsServiceServer

func RegisterCmsServiceServer(s grpc1.ServiceRegistrar, srv CmsServiceServer, opts ...grpc1.HandleOption)

func ServiceNames

func ServiceNames(svr ...string) []string

ServiceNames return all service names

func Types

func Types() []reflect.Type

Types

type CmsCreateNsRequest

type CmsCreateNsRequest struct {
	PipelineSource string `protobuf:"bytes,1,opt,name=pipelineSource,proto3" json:"pipelineSource,omitempty"`
	Ns             string `protobuf:"bytes,2,opt,name=ns,proto3" json:"ns,omitempty"`
	// contains filtered or unexported fields
}

func (*CmsCreateNsRequest) Descriptor deprecated

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

Deprecated: Use CmsCreateNsRequest.ProtoReflect.Descriptor instead.

func (*CmsCreateNsRequest) GetNs

func (x *CmsCreateNsRequest) GetNs() string

func (*CmsCreateNsRequest) GetPipelineSource

func (x *CmsCreateNsRequest) GetPipelineSource() string

func (*CmsCreateNsRequest) MarshalJSON

func (m *CmsCreateNsRequest) MarshalJSON() ([]byte, error)

CmsCreateNsRequest implement json.Marshaler.

func (*CmsCreateNsRequest) ProtoMessage

func (*CmsCreateNsRequest) ProtoMessage()

func (*CmsCreateNsRequest) ProtoReflect

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

func (*CmsCreateNsRequest) Reset

func (x *CmsCreateNsRequest) Reset()

func (*CmsCreateNsRequest) String

func (x *CmsCreateNsRequest) String() string

func (*CmsCreateNsRequest) UnmarshalJSON

func (m *CmsCreateNsRequest) UnmarshalJSON(b []byte) error

CmsCreateNsRequest implement json.Marshaler.

func (*CmsCreateNsRequest) UnmarshalURLValues

func (m *CmsCreateNsRequest) UnmarshalURLValues(prefix string, values url.Values) error

CmsCreateNsRequest implement urlenc.URLValuesUnmarshaler.

func (*CmsCreateNsRequest) Validate

func (this *CmsCreateNsRequest) Validate() error

type CmsCreateNsResponse

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

func (*CmsCreateNsResponse) Descriptor deprecated

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

Deprecated: Use CmsCreateNsResponse.ProtoReflect.Descriptor instead.

func (*CmsCreateNsResponse) MarshalJSON

func (m *CmsCreateNsResponse) MarshalJSON() ([]byte, error)

CmsCreateNsResponse implement json.Marshaler.

func (*CmsCreateNsResponse) ProtoMessage

func (*CmsCreateNsResponse) ProtoMessage()

func (*CmsCreateNsResponse) ProtoReflect

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

func (*CmsCreateNsResponse) Reset

func (x *CmsCreateNsResponse) Reset()

func (*CmsCreateNsResponse) String

func (x *CmsCreateNsResponse) String() string

func (*CmsCreateNsResponse) UnmarshalJSON

func (m *CmsCreateNsResponse) UnmarshalJSON(b []byte) error

CmsCreateNsResponse implement json.Marshaler.

func (*CmsCreateNsResponse) UnmarshalURLValues

func (m *CmsCreateNsResponse) UnmarshalURLValues(prefix string, values url.Values) error

CmsCreateNsResponse implement urlenc.URLValuesUnmarshaler.

func (*CmsCreateNsResponse) Validate

func (this *CmsCreateNsResponse) Validate() error

type CmsListNsRequest

type CmsListNsRequest struct {
	PipelineSource string `protobuf:"bytes,1,opt,name=pipelineSource,proto3" json:"pipelineSource,omitempty"`
	NsPrefix       string `protobuf:"bytes,2,opt,name=nsPrefix,proto3" json:"nsPrefix,omitempty"`
	// contains filtered or unexported fields
}

func (*CmsListNsRequest) Descriptor deprecated

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

Deprecated: Use CmsListNsRequest.ProtoReflect.Descriptor instead.

func (*CmsListNsRequest) GetNsPrefix

func (x *CmsListNsRequest) GetNsPrefix() string

func (*CmsListNsRequest) GetPipelineSource

func (x *CmsListNsRequest) GetPipelineSource() string

func (*CmsListNsRequest) MarshalJSON

func (m *CmsListNsRequest) MarshalJSON() ([]byte, error)

CmsListNsRequest implement json.Marshaler.

func (*CmsListNsRequest) ProtoMessage

func (*CmsListNsRequest) ProtoMessage()

func (*CmsListNsRequest) ProtoReflect

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

func (*CmsListNsRequest) Reset

func (x *CmsListNsRequest) Reset()

func (*CmsListNsRequest) String

func (x *CmsListNsRequest) String() string

func (*CmsListNsRequest) UnmarshalJSON

func (m *CmsListNsRequest) UnmarshalJSON(b []byte) error

CmsListNsRequest implement json.Marshaler.

func (*CmsListNsRequest) UnmarshalURLValues

func (m *CmsListNsRequest) UnmarshalURLValues(prefix string, values url.Values) error

CmsListNsRequest implement urlenc.URLValuesUnmarshaler.

func (*CmsListNsRequest) Validate

func (this *CmsListNsRequest) Validate() error

type CmsListNsResponse

type CmsListNsResponse struct {
	Data []*PipelineCmsNs `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*CmsListNsResponse) Descriptor deprecated

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

Deprecated: Use CmsListNsResponse.ProtoReflect.Descriptor instead.

func (*CmsListNsResponse) GetData

func (x *CmsListNsResponse) GetData() []*PipelineCmsNs

func (*CmsListNsResponse) MarshalJSON

func (m *CmsListNsResponse) MarshalJSON() ([]byte, error)

CmsListNsResponse implement json.Marshaler.

func (*CmsListNsResponse) ProtoMessage

func (*CmsListNsResponse) ProtoMessage()

func (*CmsListNsResponse) ProtoReflect

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

func (*CmsListNsResponse) Reset

func (x *CmsListNsResponse) Reset()

func (*CmsListNsResponse) String

func (x *CmsListNsResponse) String() string

func (*CmsListNsResponse) UnmarshalJSON

func (m *CmsListNsResponse) UnmarshalJSON(b []byte) error

CmsListNsResponse implement json.Marshaler.

func (*CmsListNsResponse) UnmarshalURLValues

func (m *CmsListNsResponse) UnmarshalURLValues(prefix string, values url.Values) error

CmsListNsResponse implement urlenc.URLValuesUnmarshaler.

func (*CmsListNsResponse) Validate

func (this *CmsListNsResponse) Validate() error

type CmsNsConfigsDeleteRequest

type CmsNsConfigsDeleteRequest struct {
	Ns             string `protobuf:"bytes,1,opt,name=ns,proto3" json:"ns,omitempty"`
	PipelineSource string `protobuf:"bytes,2,opt,name=pipelineSource,proto3" json:"pipelineSource,omitempty"`
	// Use custom json_name option `deleteNS` for backward-compatible, like fdp.
	// Use field name `deleteNs` for a unified format with other message.
	DeleteNs    bool     `protobuf:"varint,3,opt,name=deleteNs,json=deleteNS,proto3" json:"deleteNs,omitempty"`
	DeleteForce bool     `protobuf:"varint,4,opt,name=deleteForce,proto3" json:"deleteForce,omitempty"`
	DeleteKeys  []string `protobuf:"bytes,5,rep,name=deleteKeys,proto3" json:"deleteKeys,omitempty"`
	// contains filtered or unexported fields
}

func (*CmsNsConfigsDeleteRequest) Descriptor deprecated

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

Deprecated: Use CmsNsConfigsDeleteRequest.ProtoReflect.Descriptor instead.

func (*CmsNsConfigsDeleteRequest) GetDeleteForce

func (x *CmsNsConfigsDeleteRequest) GetDeleteForce() bool

func (*CmsNsConfigsDeleteRequest) GetDeleteKeys

func (x *CmsNsConfigsDeleteRequest) GetDeleteKeys() []string

func (*CmsNsConfigsDeleteRequest) GetDeleteNs

func (x *CmsNsConfigsDeleteRequest) GetDeleteNs() bool

func (*CmsNsConfigsDeleteRequest) GetNs

func (x *CmsNsConfigsDeleteRequest) GetNs() string

func (*CmsNsConfigsDeleteRequest) GetPipelineSource

func (x *CmsNsConfigsDeleteRequest) GetPipelineSource() string

func (*CmsNsConfigsDeleteRequest) MarshalJSON

func (m *CmsNsConfigsDeleteRequest) MarshalJSON() ([]byte, error)

CmsNsConfigsDeleteRequest implement json.Marshaler.

func (*CmsNsConfigsDeleteRequest) ProtoMessage

func (*CmsNsConfigsDeleteRequest) ProtoMessage()

func (*CmsNsConfigsDeleteRequest) ProtoReflect

func (*CmsNsConfigsDeleteRequest) Reset

func (x *CmsNsConfigsDeleteRequest) Reset()

func (*CmsNsConfigsDeleteRequest) String

func (x *CmsNsConfigsDeleteRequest) String() string

func (*CmsNsConfigsDeleteRequest) UnmarshalJSON

func (m *CmsNsConfigsDeleteRequest) UnmarshalJSON(b []byte) error

CmsNsConfigsDeleteRequest implement json.Marshaler.

func (*CmsNsConfigsDeleteRequest) UnmarshalURLValues

func (m *CmsNsConfigsDeleteRequest) UnmarshalURLValues(prefix string, values url.Values) error

CmsNsConfigsDeleteRequest implement urlenc.URLValuesUnmarshaler.

func (*CmsNsConfigsDeleteRequest) Validate

func (this *CmsNsConfigsDeleteRequest) Validate() error

type CmsNsConfigsDeleteResponse

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

func (*CmsNsConfigsDeleteResponse) Descriptor deprecated

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

Deprecated: Use CmsNsConfigsDeleteResponse.ProtoReflect.Descriptor instead.

func (*CmsNsConfigsDeleteResponse) MarshalJSON

func (m *CmsNsConfigsDeleteResponse) MarshalJSON() ([]byte, error)

CmsNsConfigsDeleteResponse implement json.Marshaler.

func (*CmsNsConfigsDeleteResponse) ProtoMessage

func (*CmsNsConfigsDeleteResponse) ProtoMessage()

func (*CmsNsConfigsDeleteResponse) ProtoReflect

func (*CmsNsConfigsDeleteResponse) Reset

func (x *CmsNsConfigsDeleteResponse) Reset()

func (*CmsNsConfigsDeleteResponse) String

func (x *CmsNsConfigsDeleteResponse) String() string

func (*CmsNsConfigsDeleteResponse) UnmarshalJSON

func (m *CmsNsConfigsDeleteResponse) UnmarshalJSON(b []byte) error

CmsNsConfigsDeleteResponse implement json.Marshaler.

func (*CmsNsConfigsDeleteResponse) UnmarshalURLValues

func (m *CmsNsConfigsDeleteResponse) UnmarshalURLValues(prefix string, values url.Values) error

CmsNsConfigsDeleteResponse implement urlenc.URLValuesUnmarshaler.

func (*CmsNsConfigsDeleteResponse) Validate

func (this *CmsNsConfigsDeleteResponse) Validate() error

type CmsNsConfigsGetRequest

type CmsNsConfigsGetRequest struct {
	Ns             string                  `protobuf:"bytes,1,opt,name=ns,proto3" json:"ns,omitempty"`
	PipelineSource string                  `protobuf:"bytes,2,opt,name=pipelineSource,proto3" json:"pipelineSource,omitempty"`
	Keys           []*PipelineCmsConfigKey `protobuf:"bytes,3,rep,name=keys,proto3" json:"keys,omitempty"`                    // only fetch specified keys
	GlobalDecrypt  bool                    `protobuf:"varint,4,opt,name=globalDecrypt,proto3" json:"globalDecrypt,omitempty"` // global-level setting's priority is lower than key-level
	// contains filtered or unexported fields
}

func (*CmsNsConfigsGetRequest) Descriptor deprecated

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

Deprecated: Use CmsNsConfigsGetRequest.ProtoReflect.Descriptor instead.

func (*CmsNsConfigsGetRequest) GetGlobalDecrypt

func (x *CmsNsConfigsGetRequest) GetGlobalDecrypt() bool

func (*CmsNsConfigsGetRequest) GetKeys

func (*CmsNsConfigsGetRequest) GetNs

func (x *CmsNsConfigsGetRequest) GetNs() string

func (*CmsNsConfigsGetRequest) GetPipelineSource

func (x *CmsNsConfigsGetRequest) GetPipelineSource() string

func (*CmsNsConfigsGetRequest) MarshalJSON

func (m *CmsNsConfigsGetRequest) MarshalJSON() ([]byte, error)

CmsNsConfigsGetRequest implement json.Marshaler.

func (*CmsNsConfigsGetRequest) ProtoMessage

func (*CmsNsConfigsGetRequest) ProtoMessage()

func (*CmsNsConfigsGetRequest) ProtoReflect

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

func (*CmsNsConfigsGetRequest) Reset

func (x *CmsNsConfigsGetRequest) Reset()

func (*CmsNsConfigsGetRequest) String

func (x *CmsNsConfigsGetRequest) String() string

func (*CmsNsConfigsGetRequest) UnmarshalJSON

func (m *CmsNsConfigsGetRequest) UnmarshalJSON(b []byte) error

CmsNsConfigsGetRequest implement json.Marshaler.

func (*CmsNsConfigsGetRequest) UnmarshalURLValues

func (m *CmsNsConfigsGetRequest) UnmarshalURLValues(prefix string, values url.Values) error

CmsNsConfigsGetRequest implement urlenc.URLValuesUnmarshaler.

func (*CmsNsConfigsGetRequest) Validate

func (this *CmsNsConfigsGetRequest) Validate() error

type CmsNsConfigsGetResponse

type CmsNsConfigsGetResponse struct {
	Data []*PipelineCmsConfig `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*CmsNsConfigsGetResponse) Descriptor deprecated

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

Deprecated: Use CmsNsConfigsGetResponse.ProtoReflect.Descriptor instead.

func (*CmsNsConfigsGetResponse) GetData

func (*CmsNsConfigsGetResponse) MarshalJSON

func (m *CmsNsConfigsGetResponse) MarshalJSON() ([]byte, error)

CmsNsConfigsGetResponse implement json.Marshaler.

func (*CmsNsConfigsGetResponse) ProtoMessage

func (*CmsNsConfigsGetResponse) ProtoMessage()

func (*CmsNsConfigsGetResponse) ProtoReflect

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

func (*CmsNsConfigsGetResponse) Reset

func (x *CmsNsConfigsGetResponse) Reset()

func (*CmsNsConfigsGetResponse) String

func (x *CmsNsConfigsGetResponse) String() string

func (*CmsNsConfigsGetResponse) UnmarshalJSON

func (m *CmsNsConfigsGetResponse) UnmarshalJSON(b []byte) error

CmsNsConfigsGetResponse implement json.Marshaler.

func (*CmsNsConfigsGetResponse) UnmarshalURLValues

func (m *CmsNsConfigsGetResponse) UnmarshalURLValues(prefix string, values url.Values) error

CmsNsConfigsGetResponse implement urlenc.URLValuesUnmarshaler.

func (*CmsNsConfigsGetResponse) Validate

func (this *CmsNsConfigsGetResponse) Validate() error

type CmsNsConfigsUpdateRequest

type CmsNsConfigsUpdateRequest struct {
	Ns             string                             `protobuf:"bytes,1,opt,name=ns,proto3" json:"ns,omitempty"`
	PipelineSource string                             `protobuf:"bytes,2,opt,name=pipeline_source,json=pipelineSource,proto3" json:"pipeline_source,omitempty"`
	KVs            map[string]*PipelineCmsConfigValue `` /* 156-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*CmsNsConfigsUpdateRequest) Descriptor deprecated

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

Deprecated: Use CmsNsConfigsUpdateRequest.ProtoReflect.Descriptor instead.

func (*CmsNsConfigsUpdateRequest) GetKVs

func (*CmsNsConfigsUpdateRequest) GetNs

func (x *CmsNsConfigsUpdateRequest) GetNs() string

func (*CmsNsConfigsUpdateRequest) GetPipelineSource

func (x *CmsNsConfigsUpdateRequest) GetPipelineSource() string

func (*CmsNsConfigsUpdateRequest) MarshalJSON

func (m *CmsNsConfigsUpdateRequest) MarshalJSON() ([]byte, error)

CmsNsConfigsUpdateRequest implement json.Marshaler.

func (*CmsNsConfigsUpdateRequest) ProtoMessage

func (*CmsNsConfigsUpdateRequest) ProtoMessage()

func (*CmsNsConfigsUpdateRequest) ProtoReflect

func (*CmsNsConfigsUpdateRequest) Reset

func (x *CmsNsConfigsUpdateRequest) Reset()

func (*CmsNsConfigsUpdateRequest) String

func (x *CmsNsConfigsUpdateRequest) String() string

func (*CmsNsConfigsUpdateRequest) UnmarshalJSON

func (m *CmsNsConfigsUpdateRequest) UnmarshalJSON(b []byte) error

CmsNsConfigsUpdateRequest implement json.Marshaler.

func (*CmsNsConfigsUpdateRequest) UnmarshalURLValues

func (m *CmsNsConfigsUpdateRequest) UnmarshalURLValues(prefix string, values url.Values) error

CmsNsConfigsUpdateRequest implement urlenc.URLValuesUnmarshaler.

func (*CmsNsConfigsUpdateRequest) Validate

func (this *CmsNsConfigsUpdateRequest) Validate() error

type CmsNsConfigsUpdateResponse

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

func (*CmsNsConfigsUpdateResponse) Descriptor deprecated

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

Deprecated: Use CmsNsConfigsUpdateResponse.ProtoReflect.Descriptor instead.

func (*CmsNsConfigsUpdateResponse) MarshalJSON

func (m *CmsNsConfigsUpdateResponse) MarshalJSON() ([]byte, error)

CmsNsConfigsUpdateResponse implement json.Marshaler.

func (*CmsNsConfigsUpdateResponse) ProtoMessage

func (*CmsNsConfigsUpdateResponse) ProtoMessage()

func (*CmsNsConfigsUpdateResponse) ProtoReflect

func (*CmsNsConfigsUpdateResponse) Reset

func (x *CmsNsConfigsUpdateResponse) Reset()

func (*CmsNsConfigsUpdateResponse) String

func (x *CmsNsConfigsUpdateResponse) String() string

func (*CmsNsConfigsUpdateResponse) UnmarshalJSON

func (m *CmsNsConfigsUpdateResponse) UnmarshalJSON(b []byte) error

CmsNsConfigsUpdateResponse implement json.Marshaler.

func (*CmsNsConfigsUpdateResponse) UnmarshalURLValues

func (m *CmsNsConfigsUpdateResponse) UnmarshalURLValues(prefix string, values url.Values) error

CmsNsConfigsUpdateResponse implement urlenc.URLValuesUnmarshaler.

func (*CmsNsConfigsUpdateResponse) Validate

func (this *CmsNsConfigsUpdateResponse) Validate() error

type CmsNsConfigsUpdateV1Request

type CmsNsConfigsUpdateV1Request struct {
	Ns  string            `protobuf:"bytes,1,opt,name=ns,proto3" json:"ns,omitempty"`
	KVs map[string]string `` /* 156-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*CmsNsConfigsUpdateV1Request) Descriptor deprecated

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

Deprecated: Use CmsNsConfigsUpdateV1Request.ProtoReflect.Descriptor instead.

func (*CmsNsConfigsUpdateV1Request) GetKVs

func (x *CmsNsConfigsUpdateV1Request) GetKVs() map[string]string

func (*CmsNsConfigsUpdateV1Request) GetNs

func (*CmsNsConfigsUpdateV1Request) MarshalJSON

func (m *CmsNsConfigsUpdateV1Request) MarshalJSON() ([]byte, error)

CmsNsConfigsUpdateV1Request implement json.Marshaler.

func (*CmsNsConfigsUpdateV1Request) ProtoMessage

func (*CmsNsConfigsUpdateV1Request) ProtoMessage()

func (*CmsNsConfigsUpdateV1Request) ProtoReflect

func (*CmsNsConfigsUpdateV1Request) Reset

func (x *CmsNsConfigsUpdateV1Request) Reset()

func (*CmsNsConfigsUpdateV1Request) String

func (x *CmsNsConfigsUpdateV1Request) String() string

func (*CmsNsConfigsUpdateV1Request) UnmarshalJSON

func (m *CmsNsConfigsUpdateV1Request) UnmarshalJSON(b []byte) error

CmsNsConfigsUpdateV1Request implement json.Marshaler.

func (*CmsNsConfigsUpdateV1Request) UnmarshalURLValues

func (m *CmsNsConfigsUpdateV1Request) UnmarshalURLValues(prefix string, values url.Values) error

CmsNsConfigsUpdateV1Request implement urlenc.URLValuesUnmarshaler.

func (*CmsNsConfigsUpdateV1Request) Validate

func (this *CmsNsConfigsUpdateV1Request) Validate() error

type CmsServiceClient

type CmsServiceClient interface {
	CreateNs(ctx context.Context, in *CmsCreateNsRequest, opts ...grpc.CallOption) (*CmsCreateNsResponse, error)
	ListCmsNs(ctx context.Context, in *CmsListNsRequest, opts ...grpc.CallOption) (*CmsListNsResponse, error)
	UpdateCmsNsConfigs(ctx context.Context, in *CmsNsConfigsUpdateRequest, opts ...grpc.CallOption) (*CmsNsConfigsUpdateResponse, error)
	DeleteCmsNsConfigs(ctx context.Context, in *CmsNsConfigsDeleteRequest, opts ...grpc.CallOption) (*CmsNsConfigsDeleteResponse, error)
	GetCmsNsConfigs(ctx context.Context, in *CmsNsConfigsGetRequest, opts ...grpc.CallOption) (*CmsNsConfigsGetResponse, error)
}

CmsServiceClient is the client API for CmsService 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.

type CmsServiceHandler

type CmsServiceHandler interface {
	// POST /api/pipelines/cms/ns
	CreateNs(context.Context, *CmsCreateNsRequest) (*CmsCreateNsResponse, error)
	// GET /api/pipelines/cms/ns
	ListCmsNs(context.Context, *CmsListNsRequest) (*CmsListNsResponse, error)
	// POST /api/pipelines/cms/ns/{ns}
	UpdateCmsNsConfigs(context.Context, *CmsNsConfigsUpdateRequest) (*CmsNsConfigsUpdateResponse, error)
	// DELETE /api/pipelines/cms/ns/{ns}
	DeleteCmsNsConfigs(context.Context, *CmsNsConfigsDeleteRequest) (*CmsNsConfigsDeleteResponse, error)
	// GET /api/pipelines/cms/ns/{ns}
	GetCmsNsConfigs(context.Context, *CmsNsConfigsGetRequest) (*CmsNsConfigsGetResponse, error)
}

CmsServiceHandler is the server API for CmsService service.

type CmsServiceServer

CmsServiceServer is the server API for CmsService service. All implementations should embed UnimplementedCmsServiceServer for forward compatibility

type PipelineCmsConfig

type PipelineCmsConfig struct {
	Key         string                       `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Value       string                       `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	EncryptInDB bool                         `protobuf:"varint,3,opt,name=encryptInDB,proto3" json:"encryptInDB,omitempty"`
	Type        string                       `protobuf:"bytes,4,opt,name=type,proto3" json:"type,omitempty"`
	Operations  *PipelineCmsConfigOperations `protobuf:"bytes,5,opt,name=operations,proto3" json:"operations,omitempty"`
	Comment     string                       `protobuf:"bytes,6,opt,name=comment,proto3" json:"comment,omitempty"`
	From        string                       `protobuf:"bytes,7,opt,name=from,proto3" json:"from,omitempty"`
	TimeCreated *timestamppb.Timestamp       `protobuf:"bytes,8,opt,name=timeCreated,proto3" json:"timeCreated,omitempty"`
	TimeUpdated *timestamppb.Timestamp       `protobuf:"bytes,9,opt,name=timeUpdated,proto3" json:"timeUpdated,omitempty"`
	// contains filtered or unexported fields
}

func (*PipelineCmsConfig) Descriptor deprecated

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

Deprecated: Use PipelineCmsConfig.ProtoReflect.Descriptor instead.

func (*PipelineCmsConfig) GetComment

func (x *PipelineCmsConfig) GetComment() string

func (*PipelineCmsConfig) GetEncryptInDB

func (x *PipelineCmsConfig) GetEncryptInDB() bool

func (*PipelineCmsConfig) GetFrom

func (x *PipelineCmsConfig) GetFrom() string

func (*PipelineCmsConfig) GetKey

func (x *PipelineCmsConfig) GetKey() string

func (*PipelineCmsConfig) GetOperations

func (x *PipelineCmsConfig) GetOperations() *PipelineCmsConfigOperations

func (*PipelineCmsConfig) GetTimeCreated

func (x *PipelineCmsConfig) GetTimeCreated() *timestamppb.Timestamp

func (*PipelineCmsConfig) GetTimeUpdated

func (x *PipelineCmsConfig) GetTimeUpdated() *timestamppb.Timestamp

func (*PipelineCmsConfig) GetType

func (x *PipelineCmsConfig) GetType() string

func (*PipelineCmsConfig) GetValue

func (x *PipelineCmsConfig) GetValue() string

func (*PipelineCmsConfig) MarshalJSON

func (m *PipelineCmsConfig) MarshalJSON() ([]byte, error)

PipelineCmsConfig implement json.Marshaler.

func (*PipelineCmsConfig) ProtoMessage

func (*PipelineCmsConfig) ProtoMessage()

func (*PipelineCmsConfig) ProtoReflect

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

func (*PipelineCmsConfig) Reset

func (x *PipelineCmsConfig) Reset()

func (*PipelineCmsConfig) String

func (x *PipelineCmsConfig) String() string

func (*PipelineCmsConfig) UnmarshalJSON

func (m *PipelineCmsConfig) UnmarshalJSON(b []byte) error

PipelineCmsConfig implement json.Marshaler.

func (*PipelineCmsConfig) UnmarshalURLValues

func (m *PipelineCmsConfig) UnmarshalURLValues(prefix string, values url.Values) error

PipelineCmsConfig implement urlenc.URLValuesUnmarshaler.

func (*PipelineCmsConfig) Validate

func (this *PipelineCmsConfig) Validate() error

type PipelineCmsConfigKey

type PipelineCmsConfigKey struct {
	Key                string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Decrypt            bool   `protobuf:"varint,2,opt,name=decrypt,proto3" json:"decrypt,omitempty"`
	ShowEncryptedValue bool   `protobuf:"varint,3,opt,name=showEncryptedValue,proto3" json:"showEncryptedValue,omitempty"` // whether to show original value which is encrypted
	// contains filtered or unexported fields
}

func (*PipelineCmsConfigKey) Descriptor deprecated

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

Deprecated: Use PipelineCmsConfigKey.ProtoReflect.Descriptor instead.

func (*PipelineCmsConfigKey) GetDecrypt

func (x *PipelineCmsConfigKey) GetDecrypt() bool

func (*PipelineCmsConfigKey) GetKey

func (x *PipelineCmsConfigKey) GetKey() string

func (*PipelineCmsConfigKey) GetShowEncryptedValue

func (x *PipelineCmsConfigKey) GetShowEncryptedValue() bool

func (*PipelineCmsConfigKey) MarshalJSON

func (m *PipelineCmsConfigKey) MarshalJSON() ([]byte, error)

PipelineCmsConfigKey implement json.Marshaler.

func (*PipelineCmsConfigKey) ProtoMessage

func (*PipelineCmsConfigKey) ProtoMessage()

func (*PipelineCmsConfigKey) ProtoReflect

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

func (*PipelineCmsConfigKey) Reset

func (x *PipelineCmsConfigKey) Reset()

func (*PipelineCmsConfigKey) String

func (x *PipelineCmsConfigKey) String() string

func (*PipelineCmsConfigKey) UnmarshalJSON

func (m *PipelineCmsConfigKey) UnmarshalJSON(b []byte) error

PipelineCmsConfigKey implement json.Marshaler.

func (*PipelineCmsConfigKey) UnmarshalURLValues

func (m *PipelineCmsConfigKey) UnmarshalURLValues(prefix string, values url.Values) error

PipelineCmsConfigKey implement urlenc.URLValuesUnmarshaler.

func (*PipelineCmsConfigKey) Validate

func (this *PipelineCmsConfigKey) Validate() error

type PipelineCmsConfigOperations

type PipelineCmsConfigOperations struct {
	CanDownload bool `protobuf:"varint,1,opt,name=canDownload,proto3" json:"canDownload,omitempty"`
	CanEdit     bool `protobuf:"varint,2,opt,name=canEdit,proto3" json:"canEdit,omitempty"`
	// can_delete only take affect when deleting a single config.
	// If you delete ns, all configs will be deleted.
	CanDelete bool `protobuf:"varint,3,opt,name=canDelete,proto3" json:"canDelete,omitempty"`
	// contains filtered or unexported fields
}

func (*PipelineCmsConfigOperations) Descriptor deprecated

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

Deprecated: Use PipelineCmsConfigOperations.ProtoReflect.Descriptor instead.

func (*PipelineCmsConfigOperations) GetCanDelete

func (x *PipelineCmsConfigOperations) GetCanDelete() bool

func (*PipelineCmsConfigOperations) GetCanDownload

func (x *PipelineCmsConfigOperations) GetCanDownload() bool

func (*PipelineCmsConfigOperations) GetCanEdit

func (x *PipelineCmsConfigOperations) GetCanEdit() bool

func (*PipelineCmsConfigOperations) MarshalJSON

func (m *PipelineCmsConfigOperations) MarshalJSON() ([]byte, error)

PipelineCmsConfigOperations implement json.Marshaler.

func (*PipelineCmsConfigOperations) ProtoMessage

func (*PipelineCmsConfigOperations) ProtoMessage()

func (*PipelineCmsConfigOperations) ProtoReflect

func (*PipelineCmsConfigOperations) Reset

func (x *PipelineCmsConfigOperations) Reset()

func (*PipelineCmsConfigOperations) String

func (x *PipelineCmsConfigOperations) String() string

func (*PipelineCmsConfigOperations) UnmarshalJSON

func (m *PipelineCmsConfigOperations) UnmarshalJSON(b []byte) error

PipelineCmsConfigOperations implement json.Marshaler.

func (*PipelineCmsConfigOperations) UnmarshalURLValues

func (m *PipelineCmsConfigOperations) UnmarshalURLValues(prefix string, values url.Values) error

PipelineCmsConfigOperations implement urlenc.URLValuesUnmarshaler.

func (*PipelineCmsConfigOperations) Validate

func (this *PipelineCmsConfigOperations) Validate() error

type PipelineCmsConfigValue

type PipelineCmsConfigValue struct {

	// Value
	// - when updating, Value is realValue;
	// - when getting, if Decrypt=true, Value=decrypt(dbValue); if Decrypt=false, Value=dbValue
	Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	// EncryptInDB means whether encrypt in db
	EncryptInDB bool `protobuf:"varint,2,opt,name=encryptInDB,proto3" json:"encryptInDB,omitempty"`
	// Type
	// - if not specified, default type is `kv`;
	// - if type is `dice-file`, value is uuid of `dice-file`.
	Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"`
	// Operations config operations
	// if nil, use default operations according to type
	Operations *PipelineCmsConfigOperations `protobuf:"bytes,4,opt,name=operations,proto3" json:"operations,omitempty"`
	// Comment
	Comment string `protobuf:"bytes,5,opt,name=comment,proto3" json:"comment,omitempty"`
	// From represents where the config comes from. Optional.
	From string `protobuf:"bytes,6,opt,name=from,proto3" json:"from,omitempty"`
	// no need to provide these fields when creating or updating.
	TimeCreated *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=timeCreated,proto3" json:"timeCreated,omitempty"`
	TimeUpdated *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=timeUpdated,proto3" json:"timeUpdated,omitempty"`
	// contains filtered or unexported fields
}

func (*PipelineCmsConfigValue) Descriptor deprecated

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

Deprecated: Use PipelineCmsConfigValue.ProtoReflect.Descriptor instead.

func (*PipelineCmsConfigValue) GetComment

func (x *PipelineCmsConfigValue) GetComment() string

func (*PipelineCmsConfigValue) GetEncryptInDB

func (x *PipelineCmsConfigValue) GetEncryptInDB() bool

func (*PipelineCmsConfigValue) GetFrom

func (x *PipelineCmsConfigValue) GetFrom() string

func (*PipelineCmsConfigValue) GetOperations

func (*PipelineCmsConfigValue) GetTimeCreated

func (x *PipelineCmsConfigValue) GetTimeCreated() *timestamppb.Timestamp

func (*PipelineCmsConfigValue) GetTimeUpdated

func (x *PipelineCmsConfigValue) GetTimeUpdated() *timestamppb.Timestamp

func (*PipelineCmsConfigValue) GetType

func (x *PipelineCmsConfigValue) GetType() string

func (*PipelineCmsConfigValue) GetValue

func (x *PipelineCmsConfigValue) GetValue() string

func (*PipelineCmsConfigValue) MarshalJSON

func (m *PipelineCmsConfigValue) MarshalJSON() ([]byte, error)

PipelineCmsConfigValue implement json.Marshaler.

func (*PipelineCmsConfigValue) ProtoMessage

func (*PipelineCmsConfigValue) ProtoMessage()

func (*PipelineCmsConfigValue) ProtoReflect

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

func (*PipelineCmsConfigValue) Reset

func (x *PipelineCmsConfigValue) Reset()

func (*PipelineCmsConfigValue) String

func (x *PipelineCmsConfigValue) String() string

func (*PipelineCmsConfigValue) UnmarshalJSON

func (m *PipelineCmsConfigValue) UnmarshalJSON(b []byte) error

PipelineCmsConfigValue implement json.Marshaler.

func (*PipelineCmsConfigValue) UnmarshalURLValues

func (m *PipelineCmsConfigValue) UnmarshalURLValues(prefix string, values url.Values) error

PipelineCmsConfigValue implement urlenc.URLValuesUnmarshaler.

func (*PipelineCmsConfigValue) Validate

func (this *PipelineCmsConfigValue) Validate() error

type PipelineCmsNs

type PipelineCmsNs struct {
	PipelineSource string                 `protobuf:"bytes,1,opt,name=pipeline_source,json=pipelineSource,proto3" json:"pipeline_source,omitempty"`
	Ns             string                 `protobuf:"bytes,2,opt,name=ns,proto3" json:"ns,omitempty"`
	TimeCreated    *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=timeCreated,proto3" json:"timeCreated,omitempty"`
	TimeUpdated    *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=timeUpdated,proto3" json:"timeUpdated,omitempty"`
	// contains filtered or unexported fields
}

func (*PipelineCmsNs) Descriptor deprecated

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

Deprecated: Use PipelineCmsNs.ProtoReflect.Descriptor instead.

func (*PipelineCmsNs) GetNs

func (x *PipelineCmsNs) GetNs() string

func (*PipelineCmsNs) GetPipelineSource

func (x *PipelineCmsNs) GetPipelineSource() string

func (*PipelineCmsNs) GetTimeCreated

func (x *PipelineCmsNs) GetTimeCreated() *timestamppb.Timestamp

func (*PipelineCmsNs) GetTimeUpdated

func (x *PipelineCmsNs) GetTimeUpdated() *timestamppb.Timestamp

func (*PipelineCmsNs) MarshalJSON

func (m *PipelineCmsNs) MarshalJSON() ([]byte, error)

PipelineCmsNs implement json.Marshaler.

func (*PipelineCmsNs) ProtoMessage

func (*PipelineCmsNs) ProtoMessage()

func (*PipelineCmsNs) ProtoReflect

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

func (*PipelineCmsNs) Reset

func (x *PipelineCmsNs) Reset()

func (*PipelineCmsNs) String

func (x *PipelineCmsNs) String() string

func (*PipelineCmsNs) UnmarshalJSON

func (m *PipelineCmsNs) UnmarshalJSON(b []byte) error

PipelineCmsNs implement json.Marshaler.

func (*PipelineCmsNs) UnmarshalURLValues

func (m *PipelineCmsNs) UnmarshalURLValues(prefix string, values url.Values) error

PipelineCmsNs implement urlenc.URLValuesUnmarshaler.

func (*PipelineCmsNs) Validate

func (this *PipelineCmsNs) Validate() error

type UnimplementedCmsServiceServer

type UnimplementedCmsServiceServer struct {
}

UnimplementedCmsServiceServer should be embedded to have forward compatible implementations.

func (*UnimplementedCmsServiceServer) CreateNs

func (*UnimplementedCmsServiceServer) DeleteCmsNsConfigs

func (*UnimplementedCmsServiceServer) GetCmsNsConfigs

func (*UnimplementedCmsServiceServer) ListCmsNs

func (*UnimplementedCmsServiceServer) UpdateCmsNsConfigs

Jump to

Keyboard shortcuts

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