cloudpb

package
Version: v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2022 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthCloudapi        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowCloudapi          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupCloudapi = fmt.Errorf("proto: unexpected end of group")
)
View Source
var ArtifactType_name = map[int32]string{
	0:   "AT_UNKNOWN",
	1:   "AT_LINUX_AMD64",
	2:   "AT_DARWIN_AMD64",
	50:  "AT_CONTAINER_SET_YAMLS",
	60:  "AT_CONTAINER_SET_TEMPLATE_YAMLS",
	100: "AT_CONTAINER_SET_LINUX_AMD64",
}
View Source
var ArtifactType_value = map[string]int32{
	"AT_UNKNOWN":                      0,
	"AT_LINUX_AMD64":                  1,
	"AT_DARWIN_AMD64":                 2,
	"AT_CONTAINER_SET_YAMLS":          50,
	"AT_CONTAINER_SET_TEMPLATE_YAMLS": 60,
	"AT_CONTAINER_SET_LINUX_AMD64":    100,
}
View Source
var AutocompleteActionType_name = map[int32]string{
	0: "AAT_UNKNOWN",
	1: "AAT_EDIT",
	2: "AAT_SELECT",
}
View Source
var AutocompleteActionType_value = map[string]int32{
	"AAT_UNKNOWN": 0,
	"AAT_EDIT":    1,
	"AAT_SELECT":  2,
}
View Source
var AutocompleteEntityKind_name = map[int32]string{
	0: "AEK_UNKNOWN",
	1: "AEK_POD",
	2: "AEK_SVC",
	3: "AEK_SCRIPT",
	4: "AEK_NAMESPACE",
	5: "AEK_NODE",
}
View Source
var AutocompleteEntityKind_value = map[string]int32{
	"AEK_UNKNOWN":   0,
	"AEK_POD":       1,
	"AEK_SVC":       2,
	"AEK_SCRIPT":    3,
	"AEK_NAMESPACE": 4,
	"AEK_NODE":      5,
}
View Source
var AutocompleteEntityState_name = map[int32]string{
	0: "AES_UNKNOWN",
	1: "AES_PENDING",
	2: "AES_RUNNING",
	3: "AES_FAILED",
	4: "AES_TERMINATED",
}
View Source
var AutocompleteEntityState_value = map[string]int32{
	"AES_UNKNOWN":    0,
	"AES_PENDING":    1,
	"AES_RUNNING":    2,
	"AES_FAILED":     3,
	"AES_TERMINATED": 4,
}
View Source
var ClusterStatus_name = map[int32]string{
	0: "CS_UNKNOWN",
	1: "CS_HEALTHY",
	2: "CS_UNHEALTHY",
	3: "CS_DISCONNECTED",
	4: "CS_UPDATING",
	5: "CS_CONNECTED",
	6: "CS_UPDATE_FAILED",
	7: "CS_DEGRADED",
}
View Source
var ClusterStatus_value = map[string]int32{
	"CS_UNKNOWN":       0,
	"CS_HEALTHY":       1,
	"CS_UNHEALTHY":     2,
	"CS_DISCONNECTED":  3,
	"CS_UPDATING":      4,
	"CS_CONNECTED":     5,
	"CS_UPDATE_FAILED": 6,
	"CS_DEGRADED":      7,
}
View Source
var ContainerState_name = map[int32]string{
	0: "CONTAINER_STATE_UNKNOWN",
	1: "CONTAINER_STATE_RUNNING",
	2: "CONTAINER_STATE_TERMINATED",
	3: "CONTAINER_STATE_WAITING",
}
View Source
var ContainerState_value = map[string]int32{
	"CONTAINER_STATE_UNKNOWN":    0,
	"CONTAINER_STATE_RUNNING":    1,
	"CONTAINER_STATE_TERMINATED": 2,
	"CONTAINER_STATE_WAITING":    3,
}
View Source
var PluginKind_name = map[int32]string{
	0: "PK_UNKNOWN",
	1: "PK_RETENTION",
}
View Source
var PluginKind_value = map[string]int32{
	"PK_UNKNOWN":   0,
	"PK_RETENTION": 1,
}
View Source
var PodPhase_name = map[int32]string{
	0: "PHASE_UNKNOWN",
	1: "PENDING",
	2: "RUNNING",
	3: "SUCCEEDED",
	4: "FAILED",
	5: "TERMINATED",
}
View Source
var PodPhase_value = map[string]int32{
	"PHASE_UNKNOWN": 0,
	"PENDING":       1,
	"RUNNING":       2,
	"SUCCEEDED":     3,
	"FAILED":        4,
	"TERMINATED":    5,
}

Functions

func RegisterAPIKeyManagerServer

func RegisterAPIKeyManagerServer(s *grpc.Server, srv APIKeyManagerServer)

func RegisterArtifactTrackerServer

func RegisterArtifactTrackerServer(s *grpc.Server, srv ArtifactTrackerServer)

func RegisterAuthServiceServer

func RegisterAuthServiceServer(s *grpc.Server, srv AuthServiceServer)

func RegisterAutocompleteServiceServer

func RegisterAutocompleteServiceServer(s *grpc.Server, srv AutocompleteServiceServer)

func RegisterConfigServiceServer

func RegisterConfigServiceServer(s *grpc.Server, srv ConfigServiceServer)

func RegisterOrganizationServiceServer

func RegisterOrganizationServiceServer(s *grpc.Server, srv OrganizationServiceServer)

func RegisterPluginServiceServer added in v0.3.0

func RegisterPluginServiceServer(s *grpc.Server, srv PluginServiceServer)

func RegisterScriptMgrServer

func RegisterScriptMgrServer(s *grpc.Server, srv ScriptMgrServer)

func RegisterUserServiceServer

func RegisterUserServiceServer(s *grpc.Server, srv UserServiceServer)

func RegisterVizierClusterInfoServer

func RegisterVizierClusterInfoServer(s *grpc.Server, srv VizierClusterInfoServer)

func RegisterVizierDeploymentKeyManagerServer

func RegisterVizierDeploymentKeyManagerServer(s *grpc.Server, srv VizierDeploymentKeyManagerServer)

func RegisterVizierImageAuthorizationServer

func RegisterVizierImageAuthorizationServer(s *grpc.Server, srv VizierImageAuthorizationServer)

Types

type APIKey

type APIKey struct {
	ID        *uuidpb.UUID     `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Key       string           `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"`
	CreatedAt *types.Timestamp `protobuf:"bytes,3,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	Desc      string           `protobuf:"bytes,4,opt,name=desc,proto3" json:"desc,omitempty"`
	OrgID     *uuidpb.UUID     `protobuf:"bytes,5,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"`
	UserID    *uuidpb.UUID     `protobuf:"bytes,6,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
}

func (*APIKey) Descriptor

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

func (*APIKey) Equal

func (this *APIKey) Equal(that interface{}) bool

func (*APIKey) GetCreatedAt

func (m *APIKey) GetCreatedAt() *types.Timestamp

func (*APIKey) GetDesc

func (m *APIKey) GetDesc() string

func (*APIKey) GetID

func (m *APIKey) GetID() *uuidpb.UUID

func (*APIKey) GetKey

func (m *APIKey) GetKey() string

func (*APIKey) GetOrgID added in v0.2.1

func (m *APIKey) GetOrgID() *uuidpb.UUID

func (*APIKey) GetUserID added in v0.2.1

func (m *APIKey) GetUserID() *uuidpb.UUID

func (*APIKey) GoString

func (this *APIKey) GoString() string

func (*APIKey) Marshal

func (m *APIKey) Marshal() (dAtA []byte, err error)

func (*APIKey) MarshalTo

func (m *APIKey) MarshalTo(dAtA []byte) (int, error)

func (*APIKey) MarshalToSizedBuffer

func (m *APIKey) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*APIKey) ProtoMessage

func (*APIKey) ProtoMessage()

func (*APIKey) Reset

func (m *APIKey) Reset()

func (*APIKey) Size

func (m *APIKey) Size() (n int)

func (*APIKey) String

func (this *APIKey) String() string

func (*APIKey) Unmarshal

func (m *APIKey) Unmarshal(dAtA []byte) error

func (*APIKey) XXX_DiscardUnknown

func (m *APIKey) XXX_DiscardUnknown()

func (*APIKey) XXX_Marshal

func (m *APIKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*APIKey) XXX_Merge

func (m *APIKey) XXX_Merge(src proto.Message)

func (*APIKey) XXX_Size

func (m *APIKey) XXX_Size() int

func (*APIKey) XXX_Unmarshal

func (m *APIKey) XXX_Unmarshal(b []byte) error

type APIKeyManagerClient

type APIKeyManagerClient interface {
	Create(ctx context.Context, in *CreateAPIKeyRequest, opts ...grpc.CallOption) (*APIKey, error)
	List(ctx context.Context, in *ListAPIKeyRequest, opts ...grpc.CallOption) (*ListAPIKeyResponse, error)
	Get(ctx context.Context, in *GetAPIKeyRequest, opts ...grpc.CallOption) (*GetAPIKeyResponse, error)
	Delete(ctx context.Context, in *uuidpb.UUID, opts ...grpc.CallOption) (*types.Empty, error)
	LookupAPIKey(ctx context.Context, in *LookupAPIKeyRequest, opts ...grpc.CallOption) (*LookupAPIKeyResponse, error)
}

APIKeyManagerClient is the client API for APIKeyManager service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewAPIKeyManagerClient

func NewAPIKeyManagerClient(cc *grpc.ClientConn) APIKeyManagerClient

type APIKeyManagerServer

APIKeyManagerServer is the server API for APIKeyManager service.

type APIKeyMetadata added in v0.2.1

type APIKeyMetadata struct {
	ID        *uuidpb.UUID     `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	CreatedAt *types.Timestamp `protobuf:"bytes,3,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	Desc      string           `protobuf:"bytes,4,opt,name=desc,proto3" json:"desc,omitempty"`
	OrgID     *uuidpb.UUID     `protobuf:"bytes,5,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"`
	UserID    *uuidpb.UUID     `protobuf:"bytes,6,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
}

func (*APIKeyMetadata) Descriptor added in v0.2.1

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

func (*APIKeyMetadata) Equal added in v0.2.1

func (this *APIKeyMetadata) Equal(that interface{}) bool

func (*APIKeyMetadata) GetCreatedAt added in v0.2.1

func (m *APIKeyMetadata) GetCreatedAt() *types.Timestamp

func (*APIKeyMetadata) GetDesc added in v0.2.1

func (m *APIKeyMetadata) GetDesc() string

func (*APIKeyMetadata) GetID added in v0.2.1

func (m *APIKeyMetadata) GetID() *uuidpb.UUID

func (*APIKeyMetadata) GetOrgID added in v0.2.1

func (m *APIKeyMetadata) GetOrgID() *uuidpb.UUID

func (*APIKeyMetadata) GetUserID added in v0.2.1

func (m *APIKeyMetadata) GetUserID() *uuidpb.UUID

func (*APIKeyMetadata) GoString added in v0.2.1

func (this *APIKeyMetadata) GoString() string

func (*APIKeyMetadata) Marshal added in v0.2.1

func (m *APIKeyMetadata) Marshal() (dAtA []byte, err error)

func (*APIKeyMetadata) MarshalTo added in v0.2.1

func (m *APIKeyMetadata) MarshalTo(dAtA []byte) (int, error)

func (*APIKeyMetadata) MarshalToSizedBuffer added in v0.2.1

func (m *APIKeyMetadata) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*APIKeyMetadata) ProtoMessage added in v0.2.1

func (*APIKeyMetadata) ProtoMessage()

func (*APIKeyMetadata) Reset added in v0.2.1

func (m *APIKeyMetadata) Reset()

func (*APIKeyMetadata) Size added in v0.2.1

func (m *APIKeyMetadata) Size() (n int)

func (*APIKeyMetadata) String added in v0.2.1

func (this *APIKeyMetadata) String() string

func (*APIKeyMetadata) Unmarshal added in v0.2.1

func (m *APIKeyMetadata) Unmarshal(dAtA []byte) error

func (*APIKeyMetadata) XXX_DiscardUnknown added in v0.2.1

func (m *APIKeyMetadata) XXX_DiscardUnknown()

func (*APIKeyMetadata) XXX_Marshal added in v0.2.1

func (m *APIKeyMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*APIKeyMetadata) XXX_Merge added in v0.2.1

func (m *APIKeyMetadata) XXX_Merge(src proto.Message)

func (*APIKeyMetadata) XXX_Size added in v0.2.1

func (m *APIKeyMetadata) XXX_Size() int

func (*APIKeyMetadata) XXX_Unmarshal added in v0.2.1

func (m *APIKeyMetadata) XXX_Unmarshal(b []byte) error

type AddOrgIDEConfigRequest added in v0.2.1

type AddOrgIDEConfigRequest struct {
	OrgID  *uuidpb.UUID `protobuf:"bytes,1,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"`
	Config *IDEConfig   `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"`
}

func (*AddOrgIDEConfigRequest) Descriptor added in v0.2.1

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

func (*AddOrgIDEConfigRequest) Equal added in v0.2.1

func (this *AddOrgIDEConfigRequest) Equal(that interface{}) bool

func (*AddOrgIDEConfigRequest) GetConfig added in v0.2.1

func (m *AddOrgIDEConfigRequest) GetConfig() *IDEConfig

func (*AddOrgIDEConfigRequest) GetOrgID added in v0.2.1

func (m *AddOrgIDEConfigRequest) GetOrgID() *uuidpb.UUID

func (*AddOrgIDEConfigRequest) GoString added in v0.2.1

func (this *AddOrgIDEConfigRequest) GoString() string

func (*AddOrgIDEConfigRequest) Marshal added in v0.2.1

func (m *AddOrgIDEConfigRequest) Marshal() (dAtA []byte, err error)

func (*AddOrgIDEConfigRequest) MarshalTo added in v0.2.1

func (m *AddOrgIDEConfigRequest) MarshalTo(dAtA []byte) (int, error)

func (*AddOrgIDEConfigRequest) MarshalToSizedBuffer added in v0.2.1

func (m *AddOrgIDEConfigRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AddOrgIDEConfigRequest) ProtoMessage added in v0.2.1

func (*AddOrgIDEConfigRequest) ProtoMessage()

func (*AddOrgIDEConfigRequest) Reset added in v0.2.1

func (m *AddOrgIDEConfigRequest) Reset()

func (*AddOrgIDEConfigRequest) Size added in v0.2.1

func (m *AddOrgIDEConfigRequest) Size() (n int)

func (*AddOrgIDEConfigRequest) String added in v0.2.1

func (this *AddOrgIDEConfigRequest) String() string

func (*AddOrgIDEConfigRequest) Unmarshal added in v0.2.1

func (m *AddOrgIDEConfigRequest) Unmarshal(dAtA []byte) error

func (*AddOrgIDEConfigRequest) XXX_DiscardUnknown added in v0.2.1

func (m *AddOrgIDEConfigRequest) XXX_DiscardUnknown()

func (*AddOrgIDEConfigRequest) XXX_Marshal added in v0.2.1

func (m *AddOrgIDEConfigRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AddOrgIDEConfigRequest) XXX_Merge added in v0.2.1

func (m *AddOrgIDEConfigRequest) XXX_Merge(src proto.Message)

func (*AddOrgIDEConfigRequest) XXX_Size added in v0.2.1

func (m *AddOrgIDEConfigRequest) XXX_Size() int

func (*AddOrgIDEConfigRequest) XXX_Unmarshal added in v0.2.1

func (m *AddOrgIDEConfigRequest) XXX_Unmarshal(b []byte) error

type AddOrgIDEConfigResponse added in v0.2.1

type AddOrgIDEConfigResponse struct {
	Config *IDEConfig `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"`
}

func (*AddOrgIDEConfigResponse) Descriptor added in v0.2.1

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

func (*AddOrgIDEConfigResponse) Equal added in v0.2.1

func (this *AddOrgIDEConfigResponse) Equal(that interface{}) bool

func (*AddOrgIDEConfigResponse) GetConfig added in v0.2.1

func (m *AddOrgIDEConfigResponse) GetConfig() *IDEConfig

func (*AddOrgIDEConfigResponse) GoString added in v0.2.1

func (this *AddOrgIDEConfigResponse) GoString() string

func (*AddOrgIDEConfigResponse) Marshal added in v0.2.1

func (m *AddOrgIDEConfigResponse) Marshal() (dAtA []byte, err error)

func (*AddOrgIDEConfigResponse) MarshalTo added in v0.2.1

func (m *AddOrgIDEConfigResponse) MarshalTo(dAtA []byte) (int, error)

func (*AddOrgIDEConfigResponse) MarshalToSizedBuffer added in v0.2.1

func (m *AddOrgIDEConfigResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AddOrgIDEConfigResponse) ProtoMessage added in v0.2.1

func (*AddOrgIDEConfigResponse) ProtoMessage()

func (*AddOrgIDEConfigResponse) Reset added in v0.2.1

func (m *AddOrgIDEConfigResponse) Reset()

func (*AddOrgIDEConfigResponse) Size added in v0.2.1

func (m *AddOrgIDEConfigResponse) Size() (n int)