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: 29 Imported by: 9

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	SubjectTypeEnum_SubjectType_name = map[int32]string{
		0: "NOT_SPECIFIED",
		1: "OTHER",
		2: "SYSTEM",
		3: "MICRO_SERVICE",
		4: "CLUSTER",
	}
	SubjectTypeEnum_SubjectType_value = map[string]int32{
		"NOT_SPECIFIED": 0,
		"OTHER":         1,
		"SYSTEM":        2,
		"MICRO_SERVICE": 3,
		"CLUSTER":       4,
	}
)

Enum value maps for SubjectTypeEnum_SubjectType.

View Source
var (
	StatusEnum_Status_name = map[int32]string{
		0: "NOT_SPECIFIED",
		1: "ACTIVATE",
		2: "DISABLED",
		3: "DELETED",
	}
	StatusEnum_Status_value = map[string]int32{
		"NOT_SPECIFIED": 0,
		"ACTIVATE":      1,
		"DISABLED":      2,
		"DELETED":       3,
	}
)

Enum value maps for StatusEnum_Status.

View Source
var File_accesskey_proto protoreflect.FileDescriptor

Functions

func AccessKeyServiceClientType

func AccessKeyServiceClientType() reflect.Type

AccessKeyServiceClientType .

func AccessKeyServiceHandlerType

func AccessKeyServiceHandlerType() reflect.Type

AccessKeyServiceHandlerType .

func AccessKeyServiceServerType

func AccessKeyServiceServerType() reflect.Type

AccessKeyServiceServerType .

func RegisterAccessKeyServiceHandler

func RegisterAccessKeyServiceHandler(r http.Router, srv AccessKeyServiceHandler, opts ...http.HandleOption)

RegisterAccessKeyServiceHandler register AccessKeyServiceHandler to http.Router.

func RegisterAccessKeyServiceImp

func RegisterAccessKeyServiceImp(regester transport.Register, srv AccessKeyServiceServer, opts ...transport.ServiceOption)

RegisterAccessKeyServiceImp accesskey.proto

func RegisterAccessKeyServiceServer

func RegisterAccessKeyServiceServer(s grpc1.ServiceRegistrar, srv AccessKeyServiceServer, opts ...grpc1.HandleOption)

func ServiceNames

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

ServiceNames return all service names

func Types

func Types() []reflect.Type

Types

type AccessKeyServiceClient

type AccessKeyServiceClient interface {
	QueryAccessKeys(ctx context.Context, in *QueryAccessKeysRequest, opts ...grpc.CallOption) (*QueryAccessKeysResponse, error)
	GetAccessKey(ctx context.Context, in *GetAccessKeyRequest, opts ...grpc.CallOption) (*GetAccessKeyResponse, error)
	CreateAccessKey(ctx context.Context, in *CreateAccessKeyRequest, opts ...grpc.CallOption) (*CreateAccessKeyResponse, error)
	UpdateAccessKey(ctx context.Context, in *UpdateAccessKeyRequest, opts ...grpc.CallOption) (*UpdateAccessKeyResponse, error)
	DeleteAccessKey(ctx context.Context, in *DeleteAccessKeyRequest, opts ...grpc.CallOption) (*DeleteAccessKeyResponse, error)
}

AccessKeyServiceClient is the client API for AccessKeyService 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 AccessKeyServiceHandler

type AccessKeyServiceHandler interface {
	// POST /api/credentials/access-keys/query
	QueryAccessKeys(context.Context, *QueryAccessKeysRequest) (*QueryAccessKeysResponse, error)
	// GET /api/credentials/access-keys/{id}
	GetAccessKey(context.Context, *GetAccessKeyRequest) (*GetAccessKeyResponse, error)
	// POST /api/credentials/access-keys
	CreateAccessKey(context.Context, *CreateAccessKeyRequest) (*CreateAccessKeyResponse, error)
	// PUT /api/credentials/access-keys/{id}
	UpdateAccessKey(context.Context, *UpdateAccessKeyRequest) (*UpdateAccessKeyResponse, error)
	// DELETE /api/credentials/access-keys/{id}
	DeleteAccessKey(context.Context, *DeleteAccessKeyRequest) (*DeleteAccessKeyResponse, error)
}

AccessKeyServiceHandler is the server API for AccessKeyService service.

type AccessKeyServiceServer

AccessKeyServiceServer is the server API for AccessKeyService service. All implementations should embed UnimplementedAccessKeyServiceServer for forward compatibility

type AccessKeysItem

type AccessKeysItem struct {
	Id          string                      `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	AccessKey   string                      `protobuf:"bytes,2,opt,name=accessKey,proto3" json:"accessKey,omitempty"`
	SecretKey   string                      `protobuf:"bytes,3,opt,name=secretKey,proto3" json:"secretKey,omitempty"`
	Status      StatusEnum_Status           `` /* 145-byte string literal not displayed */
	SubjectType SubjectTypeEnum_SubjectType `` /* 165-byte string literal not displayed */
	Subject     string                      `protobuf:"bytes,6,opt,name=subject,proto3" json:"subject,omitempty"`
	Description string                      `protobuf:"bytes,7,opt,name=description,proto3" json:"description,omitempty"`
	CreatedAt   *timestamppb.Timestamp      `protobuf:"bytes,8,opt,name=createdAt,proto3" json:"createdAt,omitempty"`
	Scope       string                      `protobuf:"bytes,9,opt,name=scope,proto3" json:"scope,omitempty"`
	ScopeId     string                      `protobuf:"bytes,10,opt,name=scopeId,proto3" json:"scopeId,omitempty"`
	Token       string                      `protobuf:"bytes,11,opt,name=token,proto3" json:"token,omitempty"`
	// contains filtered or unexported fields
}

func (*AccessKeysItem) Descriptor deprecated

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

Deprecated: Use AccessKeysItem.ProtoReflect.Descriptor instead.

func (*AccessKeysItem) GetAccessKey

func (x *AccessKeysItem) GetAccessKey() string

func (*AccessKeysItem) GetCreatedAt

func (x *AccessKeysItem) GetCreatedAt() *timestamppb.Timestamp

func (*AccessKeysItem) GetDescription

func (x *AccessKeysItem) GetDescription() string

func (*AccessKeysItem) GetId

func (x *AccessKeysItem) GetId() string

func (*AccessKeysItem) GetScope

func (x *AccessKeysItem) GetScope() string

func (*AccessKeysItem) GetScopeId

func (x *AccessKeysItem) GetScopeId() string

func (*AccessKeysItem) GetSecretKey

func (x *AccessKeysItem) GetSecretKey() string

func (*AccessKeysItem) GetStatus

func (x *AccessKeysItem) GetStatus() StatusEnum_Status

func (*AccessKeysItem) GetSubject

func (x *AccessKeysItem) GetSubject() string

func (*AccessKeysItem) GetSubjectType

func (x *AccessKeysItem) GetSubjectType() SubjectTypeEnum_SubjectType

func (*AccessKeysItem) GetToken

func (x *AccessKeysItem) GetToken() string

func (*AccessKeysItem) MarshalJSON

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

AccessKeysItem implement json.Marshaler.

func (*AccessKeysItem) ProtoMessage

func (*AccessKeysItem) ProtoMessage()

func (*AccessKeysItem) ProtoReflect

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

func (*AccessKeysItem) Reset

func (x *AccessKeysItem) Reset()

func (*AccessKeysItem) String

func (x *AccessKeysItem) String() string

func (*AccessKeysItem) UnmarshalJSON

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

AccessKeysItem implement json.Marshaler.

func (*AccessKeysItem) UnmarshalURLValues

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

AccessKeysItem implement urlenc.URLValuesUnmarshaler.

func (*AccessKeysItem) Validate

func (this *AccessKeysItem) Validate() error

type CreateAccessKeyRequest

type CreateAccessKeyRequest struct {
	SubjectType SubjectTypeEnum_SubjectType `` /* 165-byte string literal not displayed */
	Subject     string                      `protobuf:"bytes,2,opt,name=subject,proto3" json:"subject,omitempty"`
	Description string                      `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	Scope       string                      `protobuf:"bytes,4,opt,name=scope,proto3" json:"scope,omitempty"`
	ScopeId     string                      `protobuf:"bytes,5,opt,name=scopeId,proto3" json:"scopeId,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateAccessKeyRequest) Descriptor deprecated

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

Deprecated: Use CreateAccessKeyRequest.ProtoReflect.Descriptor instead.

func (*CreateAccessKeyRequest) GetDescription

func (x *CreateAccessKeyRequest) GetDescription() string

func (*CreateAccessKeyRequest) GetScope

func (x *CreateAccessKeyRequest) GetScope() string

func (*CreateAccessKeyRequest) GetScopeId

func (x *CreateAccessKeyRequest) GetScopeId() string

func (*CreateAccessKeyRequest) GetSubject

func (x *CreateAccessKeyRequest) GetSubject() string

func (*CreateAccessKeyRequest) GetSubjectType

func (*CreateAccessKeyRequest) MarshalJSON

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

CreateAccessKeyRequest implement json.Marshaler.

func (*CreateAccessKeyRequest) ProtoMessage

func (*CreateAccessKeyRequest) ProtoMessage()

func (*CreateAccessKeyRequest) ProtoReflect

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

func (*CreateAccessKeyRequest) Reset

func (x *CreateAccessKeyRequest) Reset()

func (*CreateAccessKeyRequest) String

func (x *CreateAccessKeyRequest) String() string

func (*CreateAccessKeyRequest) UnmarshalJSON

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

CreateAccessKeyRequest implement json.Marshaler.

func (*CreateAccessKeyRequest) UnmarshalURLValues

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

CreateAccessKeyRequest implement urlenc.URLValuesUnmarshaler.

func (*CreateAccessKeyRequest) Validate

func (this *CreateAccessKeyRequest) Validate() error

type CreateAccessKeyResponse

type CreateAccessKeyResponse struct {
	Data *AccessKeysItem `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateAccessKeyResponse) Descriptor deprecated

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

Deprecated: Use CreateAccessKeyResponse.ProtoReflect.Descriptor instead.

func (*CreateAccessKeyResponse) GetData

func (*CreateAccessKeyResponse) MarshalJSON

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

CreateAccessKeyResponse implement json.Marshaler.

func (*CreateAccessKeyResponse) ProtoMessage

func (*CreateAccessKeyResponse) ProtoMessage()

func (*CreateAccessKeyResponse) ProtoReflect

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

func (*CreateAccessKeyResponse) Reset

func (x *CreateAccessKeyResponse) Reset()

func (*CreateAccessKeyResponse) String

func (x *CreateAccessKeyResponse) String() string

func (*CreateAccessKeyResponse) UnmarshalJSON

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

CreateAccessKeyResponse implement json.Marshaler.

func (*CreateAccessKeyResponse) UnmarshalURLValues

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

CreateAccessKeyResponse implement urlenc.URLValuesUnmarshaler.

func (*CreateAccessKeyResponse) Validate

func (this *CreateAccessKeyResponse) Validate() error

type DeleteAccessKeyRequest

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

func (*DeleteAccessKeyRequest) Descriptor deprecated

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

Deprecated: Use DeleteAccessKeyRequest.ProtoReflect.Descriptor instead.

func (*DeleteAccessKeyRequest) GetId

func (x *DeleteAccessKeyRequest) GetId() string

func (*DeleteAccessKeyRequest) MarshalJSON

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

DeleteAccessKeyRequest implement json.Marshaler.

func (*DeleteAccessKeyRequest) ProtoMessage

func (*DeleteAccessKeyRequest) ProtoMessage()

func (*DeleteAccessKeyRequest) ProtoReflect

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

func (*DeleteAccessKeyRequest) Reset

func (x *DeleteAccessKeyRequest) Reset()

func (*DeleteAccessKeyRequest) String

func (x *DeleteAccessKeyRequest) String() string

func (*DeleteAccessKeyRequest) UnmarshalJSON

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

DeleteAccessKeyRequest implement json.Marshaler.

func (*DeleteAccessKeyRequest) UnmarshalURLValues

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

DeleteAccessKeyRequest implement urlenc.URLValuesUnmarshaler.

func (*DeleteAccessKeyRequest) Validate

func (this *DeleteAccessKeyRequest) Validate() error

type DeleteAccessKeyResponse

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

func (*DeleteAccessKeyResponse) Descriptor deprecated

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

Deprecated: Use DeleteAccessKeyResponse.ProtoReflect.Descriptor instead.

func (*DeleteAccessKeyResponse) MarshalJSON

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

DeleteAccessKeyResponse implement json.Marshaler.

func (*DeleteAccessKeyResponse) ProtoMessage

func (*DeleteAccessKeyResponse) ProtoMessage()

func (*DeleteAccessKeyResponse) ProtoReflect

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

func (*DeleteAccessKeyResponse) Reset

func (x *DeleteAccessKeyResponse) Reset()

func (*DeleteAccessKeyResponse) String

func (x *DeleteAccessKeyResponse) String() string

func (*DeleteAccessKeyResponse) UnmarshalJSON

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

DeleteAccessKeyResponse implement json.Marshaler.

func (*DeleteAccessKeyResponse) UnmarshalURLValues

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

DeleteAccessKeyResponse implement urlenc.URLValuesUnmarshaler.

func (*DeleteAccessKeyResponse) Validate

func (this *DeleteAccessKeyResponse) Validate() error

type GetAccessKeyRequest

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

func (*GetAccessKeyRequest) Descriptor deprecated

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

Deprecated: Use GetAccessKeyRequest.ProtoReflect.Descriptor instead.

func (*GetAccessKeyRequest) GetId

func (x *GetAccessKeyRequest) GetId() string

func (*GetAccessKeyRequest) MarshalJSON

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

GetAccessKeyRequest implement json.Marshaler.

func (*GetAccessKeyRequest) ProtoMessage

func (*GetAccessKeyRequest) ProtoMessage()

func (*GetAccessKeyRequest) ProtoReflect

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

func (*GetAccessKeyRequest) Reset

func (x *GetAccessKeyRequest) Reset()

func (*GetAccessKeyRequest) String

func (x *GetAccessKeyRequest) String() string

func (*GetAccessKeyRequest) UnmarshalJSON

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

GetAccessKeyRequest implement json.Marshaler.

func (*GetAccessKeyRequest) UnmarshalURLValues

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

GetAccessKeyRequest implement urlenc.URLValuesUnmarshaler.

func (*GetAccessKeyRequest) Validate

func (this *GetAccessKeyRequest) Validate() error

type GetAccessKeyResponse

type GetAccessKeyResponse struct {
	Data *AccessKeysItem `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*GetAccessKeyResponse) Descriptor deprecated

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

Deprecated: Use GetAccessKeyResponse.ProtoReflect.Descriptor instead.

func (*GetAccessKeyResponse) GetData

func (x *GetAccessKeyResponse) GetData() *AccessKeysItem

func (*GetAccessKeyResponse) MarshalJSON

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

GetAccessKeyResponse implement json.Marshaler.

func (*GetAccessKeyResponse) ProtoMessage

func (*GetAccessKeyResponse) ProtoMessage()

func (*GetAccessKeyResponse) ProtoReflect

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

func (*GetAccessKeyResponse) Reset

func (x *GetAccessKeyResponse) Reset()

func (*GetAccessKeyResponse) String

func (x *GetAccessKeyResponse) String() string

func (*GetAccessKeyResponse) UnmarshalJSON

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

GetAccessKeyResponse implement json.Marshaler.

func (*GetAccessKeyResponse) UnmarshalURLValues

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

GetAccessKeyResponse implement urlenc.URLValuesUnmarshaler.

func (*GetAccessKeyResponse) Validate

func (this *GetAccessKeyResponse) Validate() error

type QueryAccessKeysRequest

type QueryAccessKeysRequest struct {
	Status      StatusEnum_Status           `` /* 145-byte string literal not displayed */
	SubjectType SubjectTypeEnum_SubjectType `` /* 165-byte string literal not displayed */
	Subject     string                      `protobuf:"bytes,3,opt,name=subject,proto3" json:"subject,omitempty"`
	AccessKey   string                      `protobuf:"bytes,4,opt,name=accessKey,proto3" json:"accessKey,omitempty"`
	PageNo      int64                       `protobuf:"varint,5,opt,name=pageNo,proto3" json:"pageNo,omitempty"`
	PageSize    int64                       `protobuf:"varint,6,opt,name=pageSize,proto3" json:"pageSize,omitempty"`
	Scope       string                      `protobuf:"bytes,7,opt,name=scope,proto3" json:"scope,omitempty"`
	ScopeId     string                      `protobuf:"bytes,8,opt,name=scopeId,proto3" json:"scopeId,omitempty"`
	Token       string                      `protobuf:"bytes,9,opt,name=token,proto3" json:"token,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryAccessKeysRequest) Descriptor deprecated

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

Deprecated: Use QueryAccessKeysRequest.ProtoReflect.Descriptor instead.

func (*QueryAccessKeysRequest) GetAccessKey

func (x *QueryAccessKeysRequest) GetAccessKey() string

func (*QueryAccessKeysRequest) GetPageNo

func (x *QueryAccessKeysRequest) GetPageNo() int64

func (*QueryAccessKeysRequest) GetPageSize

func (x *QueryAccessKeysRequest) GetPageSize() int64

func (*QueryAccessKeysRequest) GetScope

func (x *QueryAccessKeysRequest) GetScope() string

func (*QueryAccessKeysRequest) GetScopeId

func (x *QueryAccessKeysRequest) GetScopeId() string

func (*QueryAccessKeysRequest) GetStatus

func (*QueryAccessKeysRequest) GetSubject

func (x *QueryAccessKeysRequest) GetSubject() string

func (*QueryAccessKeysRequest) GetSubjectType

func (*QueryAccessKeysRequest) GetToken

func (x *QueryAccessKeysRequest) GetToken() string

func (*QueryAccessKeysRequest) MarshalJSON

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

QueryAccessKeysRequest implement json.Marshaler.

func (*QueryAccessKeysRequest) ProtoMessage

func (*QueryAccessKeysRequest) ProtoMessage()

func (*QueryAccessKeysRequest) ProtoReflect

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

func (*QueryAccessKeysRequest) Reset

func (x *QueryAccessKeysRequest) Reset()

func (*QueryAccessKeysRequest) String

func (x *QueryAccessKeysRequest) String() string

func (*QueryAccessKeysRequest) UnmarshalJSON

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

QueryAccessKeysRequest implement json.Marshaler.

func (*QueryAccessKeysRequest) UnmarshalURLValues

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

QueryAccessKeysRequest implement urlenc.URLValuesUnmarshaler.

func (*QueryAccessKeysRequest) Validate

func (this *QueryAccessKeysRequest) Validate() error

type QueryAccessKeysResponse

type QueryAccessKeysResponse struct {
	Data  []*AccessKeysItem `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"`
	Total int64             `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryAccessKeysResponse) Descriptor deprecated

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

Deprecated: Use QueryAccessKeysResponse.ProtoReflect.Descriptor instead.

func (*QueryAccessKeysResponse) GetData

func (x *QueryAccessKeysResponse) GetData() []*AccessKeysItem

func (*QueryAccessKeysResponse) GetTotal

func (x *QueryAccessKeysResponse) GetTotal() int64

func (*QueryAccessKeysResponse) MarshalJSON

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

QueryAccessKeysResponse implement json.Marshaler.

func (*QueryAccessKeysResponse) ProtoMessage

func (*QueryAccessKeysResponse) ProtoMessage()

func (*QueryAccessKeysResponse) ProtoReflect

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

func (*QueryAccessKeysResponse) Reset

func (x *QueryAccessKeysResponse) Reset()

func (*QueryAccessKeysResponse) String

func (x *QueryAccessKeysResponse) String() string

func (*QueryAccessKeysResponse) UnmarshalJSON

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

QueryAccessKeysResponse implement json.Marshaler.

func (*QueryAccessKeysResponse) UnmarshalURLValues

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

QueryAccessKeysResponse implement urlenc.URLValuesUnmarshaler.

func (*QueryAccessKeysResponse) Validate

func (this *QueryAccessKeysResponse) Validate() error

type StatusEnum

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

func (*StatusEnum) Descriptor deprecated

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

Deprecated: Use StatusEnum.ProtoReflect.Descriptor instead.

func (*StatusEnum) MarshalJSON

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

StatusEnum implement json.Marshaler.

func (*StatusEnum) ProtoMessage

func (*StatusEnum) ProtoMessage()

func (*StatusEnum) ProtoReflect

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

func (*StatusEnum) Reset

func (x *StatusEnum) Reset()

func (*StatusEnum) String

func (x *StatusEnum) String() string

func (*StatusEnum) UnmarshalJSON

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

StatusEnum implement json.Marshaler.

func (*StatusEnum) UnmarshalURLValues

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

StatusEnum implement urlenc.URLValuesUnmarshaler.

func (*StatusEnum) Validate

func (this *StatusEnum) Validate() error

type StatusEnum_Status

type StatusEnum_Status int32
const (
	StatusEnum_NOT_SPECIFIED StatusEnum_Status = 0 // TODO workaround for optional
	StatusEnum_ACTIVATE      StatusEnum_Status = 1
	StatusEnum_DISABLED      StatusEnum_Status = 2
	StatusEnum_DELETED       StatusEnum_Status = 3
)

func (StatusEnum_Status) Descriptor

func (StatusEnum_Status) Enum

func (StatusEnum_Status) EnumDescriptor deprecated

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

Deprecated: Use StatusEnum_Status.Descriptor instead.

func (StatusEnum_Status) Number

func (StatusEnum_Status) String

func (x StatusEnum_Status) String() string

func (StatusEnum_Status) Type

type SubjectTypeEnum

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

func (*SubjectTypeEnum) Descriptor deprecated

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

Deprecated: Use SubjectTypeEnum.ProtoReflect.Descriptor instead.

func (*SubjectTypeEnum) MarshalJSON

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

SubjectTypeEnum implement json.Marshaler.

func (*SubjectTypeEnum) ProtoMessage

func (*SubjectTypeEnum) ProtoMessage()

func (*SubjectTypeEnum) ProtoReflect

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

func (*SubjectTypeEnum) Reset

func (x *SubjectTypeEnum) Reset()

func (*SubjectTypeEnum) String

func (x *SubjectTypeEnum) String() string

func (*SubjectTypeEnum) UnmarshalJSON

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

SubjectTypeEnum implement json.Marshaler.

func (*SubjectTypeEnum) UnmarshalURLValues

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

SubjectTypeEnum implement urlenc.URLValuesUnmarshaler.

func (*SubjectTypeEnum) Validate

func (this *SubjectTypeEnum) Validate() error

type SubjectTypeEnum_SubjectType

type SubjectTypeEnum_SubjectType int32
const (
	SubjectTypeEnum_NOT_SPECIFIED SubjectTypeEnum_SubjectType = 0 // TODO workaround for optional
	SubjectTypeEnum_OTHER         SubjectTypeEnum_SubjectType = 1
	SubjectTypeEnum_SYSTEM        SubjectTypeEnum_SubjectType = 2
	SubjectTypeEnum_MICRO_SERVICE SubjectTypeEnum_SubjectType = 3
	SubjectTypeEnum_CLUSTER       SubjectTypeEnum_SubjectType = 4
)

func (SubjectTypeEnum_SubjectType) Descriptor

func (SubjectTypeEnum_SubjectType) Enum

func (SubjectTypeEnum_SubjectType) EnumDescriptor deprecated

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

Deprecated: Use SubjectTypeEnum_SubjectType.Descriptor instead.

func (SubjectTypeEnum_SubjectType) Number

func (SubjectTypeEnum_SubjectType) String

func (SubjectTypeEnum_SubjectType) Type

type UnimplementedAccessKeyServiceServer

type UnimplementedAccessKeyServiceServer struct {
}

UnimplementedAccessKeyServiceServer should be embedded to have forward compatible implementations.

func (*UnimplementedAccessKeyServiceServer) CreateAccessKey

func (*UnimplementedAccessKeyServiceServer) DeleteAccessKey

func (*UnimplementedAccessKeyServiceServer) GetAccessKey

func (*UnimplementedAccessKeyServiceServer) QueryAccessKeys

func (*UnimplementedAccessKeyServiceServer) UpdateAccessKey

type UpdateAccessKeyRequest

type UpdateAccessKeyRequest struct {
	Id          string            `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Status      StatusEnum_Status `` /* 145-byte string literal not displayed */
	Description string            `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateAccessKeyRequest) Descriptor deprecated

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

Deprecated: Use UpdateAccessKeyRequest.ProtoReflect.Descriptor instead.

func (*UpdateAccessKeyRequest) GetDescription

func (x *UpdateAccessKeyRequest) GetDescription() string

func (*UpdateAccessKeyRequest) GetId

func (x *UpdateAccessKeyRequest) GetId() string

func (*UpdateAccessKeyRequest) GetStatus

func (*UpdateAccessKeyRequest) MarshalJSON

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

UpdateAccessKeyRequest implement json.Marshaler.

func (*UpdateAccessKeyRequest) ProtoMessage

func (*UpdateAccessKeyRequest) ProtoMessage()

func (*UpdateAccessKeyRequest) ProtoReflect

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

func (*UpdateAccessKeyRequest) Reset

func (x *UpdateAccessKeyRequest) Reset()

func (*UpdateAccessKeyRequest) String

func (x *UpdateAccessKeyRequest) String() string

func (*UpdateAccessKeyRequest) UnmarshalJSON

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

UpdateAccessKeyRequest implement json.Marshaler.

func (*UpdateAccessKeyRequest) UnmarshalURLValues

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

UpdateAccessKeyRequest implement urlenc.URLValuesUnmarshaler.

func (*UpdateAccessKeyRequest) Validate

func (this *UpdateAccessKeyRequest) Validate() error

type UpdateAccessKeyResponse

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

func (*UpdateAccessKeyResponse) Descriptor deprecated

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

Deprecated: Use UpdateAccessKeyResponse.ProtoReflect.Descriptor instead.

func (*UpdateAccessKeyResponse) MarshalJSON

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

UpdateAccessKeyResponse implement json.Marshaler.

func (*UpdateAccessKeyResponse) ProtoMessage

func (*UpdateAccessKeyResponse) ProtoMessage()

func (*UpdateAccessKeyResponse) ProtoReflect

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

func (*UpdateAccessKeyResponse) Reset

func (x *UpdateAccessKeyResponse) Reset()

func (*UpdateAccessKeyResponse) String

func (x *UpdateAccessKeyResponse) String() string

func (*UpdateAccessKeyResponse) UnmarshalJSON

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

UpdateAccessKeyResponse implement json.Marshaler.

func (*UpdateAccessKeyResponse) UnmarshalURLValues

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

UpdateAccessKeyResponse implement urlenc.URLValuesUnmarshaler.

func (*UpdateAccessKeyResponse) Validate

func (this *UpdateAccessKeyResponse) Validate() error

Jump to

Keyboard shortcuts

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