Documentation ¶
Overview ¶
Package registry_tenant is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Package registry_tenant is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Package registry_tenant is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Variables
- func RegisterPolicyHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterPolicyHandlerClient(ctx context.Context, mux *runtime.ServeMux, client PolicyClient) error
- func RegisterPolicyHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterPolicyHandlerServer(ctx context.Context, mux *runtime.ServeMux, server PolicyServer) error
- func RegisterPolicyRepoHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterPolicyRepoHandlerClient(ctx context.Context, mux *runtime.ServeMux, client PolicyRepoClient) error
- func RegisterPolicyRepoHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterPolicyRepoHandlerServer(ctx context.Context, mux *runtime.ServeMux, server PolicyRepoServer) error
- func RegisterPolicyRepoServer(s grpc.ServiceRegistrar, srv PolicyRepoServer)
- func RegisterPolicyServer(s grpc.ServiceRegistrar, srv PolicyServer)
- func RegisterTenantHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterTenantHandlerClient(ctx context.Context, mux *runtime.ServeMux, client TenantClient) error
- func RegisterTenantHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterTenantHandlerServer(ctx context.Context, mux *runtime.ServeMux, server TenantServer) error
- func RegisterTenantServer(s grpc.ServiceRegistrar, srv TenantServer)
- type CreatePolicyImageRequest
- func (*CreatePolicyImageRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreatePolicyImageRequest) GetForceReconnect() bool
- func (x *CreatePolicyImageRequest) GetPolicyRef() *v1.PolicyRef
- func (*CreatePolicyImageRequest) ProtoMessage()
- func (x *CreatePolicyImageRequest) ProtoReflect() protoreflect.Message
- func (x *CreatePolicyImageRequest) Reset()
- func (x *CreatePolicyImageRequest) String() string
- type CreatePolicyImageResponse
- func (*CreatePolicyImageResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreatePolicyImageResponse) GetId() string
- func (*CreatePolicyImageResponse) ProtoMessage()
- func (x *CreatePolicyImageResponse) ProtoReflect() protoreflect.Message
- func (x *CreatePolicyImageResponse) Reset()
- func (x *CreatePolicyImageResponse) String() string
- type CreatePolicyRepoRequest
- func (*CreatePolicyRepoRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreatePolicyRepoRequest) GetPolicyRepo() *v1.PolicyRepo
- func (*CreatePolicyRepoRequest) ProtoMessage()
- func (x *CreatePolicyRepoRequest) ProtoReflect() protoreflect.Message
- func (x *CreatePolicyRepoRequest) Reset()
- func (x *CreatePolicyRepoRequest) String() string
- type CreatePolicyRepoResponse
- func (*CreatePolicyRepoResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreatePolicyRepoResponse) GetId() string
- func (*CreatePolicyRepoResponse) ProtoMessage()
- func (x *CreatePolicyRepoResponse) ProtoReflect() protoreflect.Message
- func (x *CreatePolicyRepoResponse) Reset()
- func (x *CreatePolicyRepoResponse) String() string
- type DeletePolicyImageRequest
- func (*DeletePolicyImageRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeletePolicyImageRequest) GetId() string
- func (*DeletePolicyImageRequest) ProtoMessage()
- func (x *DeletePolicyImageRequest) ProtoReflect() protoreflect.Message
- func (x *DeletePolicyImageRequest) Reset()
- func (x *DeletePolicyImageRequest) String() string
- type DeletePolicyImageResponse
- func (*DeletePolicyImageResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeletePolicyImageResponse) GetResult() *emptypb.Empty
- func (*DeletePolicyImageResponse) ProtoMessage()
- func (x *DeletePolicyImageResponse) ProtoReflect() protoreflect.Message
- func (x *DeletePolicyImageResponse) Reset()
- func (x *DeletePolicyImageResponse) String() string
- type DeletePolicyRepoRequest
- func (*DeletePolicyRepoRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeletePolicyRepoRequest) GetId() string
- func (*DeletePolicyRepoRequest) ProtoMessage()
- func (x *DeletePolicyRepoRequest) ProtoReflect() protoreflect.Message
- func (x *DeletePolicyRepoRequest) Reset()
- func (x *DeletePolicyRepoRequest) String() string
- type DeletePolicyRepoResponse
- func (*DeletePolicyRepoResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeletePolicyRepoResponse) GetResult() *emptypb.Empty
- func (*DeletePolicyRepoResponse) ProtoMessage()
- func (x *DeletePolicyRepoResponse) ProtoReflect() protoreflect.Message
- func (x *DeletePolicyRepoResponse) Reset()
- func (x *DeletePolicyRepoResponse) String() string
- type GetPolicyImageRequest
- func (*GetPolicyImageRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetPolicyImageRequest) GetId() string
- func (*GetPolicyImageRequest) ProtoMessage()
- func (x *GetPolicyImageRequest) ProtoReflect() protoreflect.Message
- func (x *GetPolicyImageRequest) Reset()
- func (x *GetPolicyImageRequest) String() string
- type GetPolicyImageResponse
- func (*GetPolicyImageResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetPolicyImageResponse) GetPolicy() *v1.PolicyRef
- func (*GetPolicyImageResponse) ProtoMessage()
- func (x *GetPolicyImageResponse) ProtoReflect() protoreflect.Message
- func (x *GetPolicyImageResponse) Reset()
- func (x *GetPolicyImageResponse) String() string
- type GetPolicyRepoRequest
- func (*GetPolicyRepoRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetPolicyRepoRequest) GetId() string
- func (*GetPolicyRepoRequest) ProtoMessage()
- func (x *GetPolicyRepoRequest) ProtoReflect() protoreflect.Message
- func (x *GetPolicyRepoRequest) Reset()
- func (x *GetPolicyRepoRequest) String() string
- type GetPolicyRepoResponse
- func (*GetPolicyRepoResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetPolicyRepoResponse) GetPolicy() *v1.PolicyRepo
- func (*GetPolicyRepoResponse) ProtoMessage()
- func (x *GetPolicyRepoResponse) ProtoReflect() protoreflect.Message
- func (x *GetPolicyRepoResponse) Reset()
- func (x *GetPolicyRepoResponse) String() string
- type ListPolicyImagesRequest
- func (*ListPolicyImagesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListPolicyImagesRequest) GetName() string
- func (*ListPolicyImagesRequest) ProtoMessage()
- func (x *ListPolicyImagesRequest) ProtoReflect() protoreflect.Message
- func (x *ListPolicyImagesRequest) Reset()
- func (x *ListPolicyImagesRequest) String() string
- type ListPolicyImagesResponse
- func (*ListPolicyImagesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListPolicyImagesResponse) GetResults() []*v1.PolicyRef
- func (*ListPolicyImagesResponse) ProtoMessage()
- func (x *ListPolicyImagesResponse) ProtoReflect() protoreflect.Message
- func (x *ListPolicyImagesResponse) Reset()
- func (x *ListPolicyImagesResponse) String() string
- type ListPolicyReposRequest
- func (*ListPolicyReposRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListPolicyReposRequest) GetName() string
- func (*ListPolicyReposRequest) ProtoMessage()
- func (x *ListPolicyReposRequest) ProtoReflect() protoreflect.Message
- func (x *ListPolicyReposRequest) Reset()
- func (x *ListPolicyReposRequest) String() string
- type ListPolicyReposResponse
- func (*ListPolicyReposResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListPolicyReposResponse) GetResults() []*v1.PolicyRepo
- func (*ListPolicyReposResponse) ProtoMessage()
- func (x *ListPolicyReposResponse) ProtoReflect() protoreflect.Message
- func (x *ListPolicyReposResponse) Reset()
- func (x *ListPolicyReposResponse) String() string
- type ListPublicPolicyImagesRequest
- func (*ListPublicPolicyImagesRequest) Descriptor() ([]byte, []int)deprecated
- func (*ListPublicPolicyImagesRequest) ProtoMessage()
- func (x *ListPublicPolicyImagesRequest) ProtoReflect() protoreflect.Message
- func (x *ListPublicPolicyImagesRequest) Reset()
- func (x *ListPublicPolicyImagesRequest) String() string
- type ListPublicPolicyImagesResponse
- func (*ListPublicPolicyImagesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListPublicPolicyImagesResponse) GetResults() []*v1.PolicyRef
- func (*ListPublicPolicyImagesResponse) ProtoMessage()
- func (x *ListPublicPolicyImagesResponse) ProtoReflect() protoreflect.Message
- func (x *ListPublicPolicyImagesResponse) Reset()
- func (x *ListPublicPolicyImagesResponse) String() string
- type ListPublicPolicyReposRequest
- func (*ListPublicPolicyReposRequest) Descriptor() ([]byte, []int)deprecated
- func (*ListPublicPolicyReposRequest) ProtoMessage()
- func (x *ListPublicPolicyReposRequest) ProtoReflect() protoreflect.Message
- func (x *ListPublicPolicyReposRequest) Reset()
- func (x *ListPublicPolicyReposRequest) String() string
- type ListPublicPolicyReposResponse
- func (*ListPublicPolicyReposResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListPublicPolicyReposResponse) GetResults() []*v1.PolicyRepo
- func (*ListPublicPolicyReposResponse) ProtoMessage()
- func (x *ListPublicPolicyReposResponse) ProtoReflect() protoreflect.Message
- func (x *ListPublicPolicyReposResponse) Reset()
- func (x *ListPublicPolicyReposResponse) String() string
- type ListPublicTenantsRequest
- func (*ListPublicTenantsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListPublicTenantsRequest) GetPage() *v1.PaginationRequest
- func (x *ListPublicTenantsRequest) GetTenants() []*v1.Tenant
- func (*ListPublicTenantsRequest) ProtoMessage()
- func (x *ListPublicTenantsRequest) ProtoReflect() protoreflect.Message
- func (x *ListPublicTenantsRequest) Reset()
- func (x *ListPublicTenantsRequest) String() string
- type ListPublicTenantsResponse
- func (*ListPublicTenantsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListPublicTenantsResponse) GetPage() *v1.PaginationResponse
- func (x *ListPublicTenantsResponse) GetTenants() []*v1.Tenant
- func (*ListPublicTenantsResponse) ProtoMessage()
- func (x *ListPublicTenantsResponse) ProtoReflect() protoreflect.Message
- func (x *ListPublicTenantsResponse) Reset()
- func (x *ListPublicTenantsResponse) String() string
- type ListTenantsRequest
- func (*ListTenantsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListTenantsRequest) GetName() string
- func (x *ListTenantsRequest) GetPage() *v1.PaginationRequest
- func (*ListTenantsRequest) ProtoMessage()
- func (x *ListTenantsRequest) ProtoReflect() protoreflect.Message
- func (x *ListTenantsRequest) Reset()
- func (x *ListTenantsRequest) String() string
- type ListTenantsResponse
- func (*ListTenantsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListTenantsResponse) GetPage() *v1.PaginationResponse
- func (x *ListTenantsResponse) GetTenants() []*v1.Tenant
- func (*ListTenantsResponse) ProtoMessage()
- func (x *ListTenantsResponse) ProtoReflect() protoreflect.Message
- func (x *ListTenantsResponse) Reset()
- func (x *ListTenantsResponse) String() string
- type PolicyClient
- type PolicyRepoClient
- type PolicyRepoServer
- type PolicyServer
- type TenantClient
- type TenantServer
- type UnimplementedPolicyRepoServer
- func (UnimplementedPolicyRepoServer) CreatePolicyRepo(context.Context, *CreatePolicyRepoRequest) (*CreatePolicyRepoResponse, error)
- func (UnimplementedPolicyRepoServer) DeletePolicyRepo(context.Context, *DeletePolicyRepoRequest) (*DeletePolicyRepoResponse, error)
- func (UnimplementedPolicyRepoServer) GetPolicyRepo(context.Context, *GetPolicyRepoRequest) (*GetPolicyRepoResponse, error)
- func (UnimplementedPolicyRepoServer) ListPolicyRepos(context.Context, *ListPolicyReposRequest) (*ListPolicyReposResponse, error)
- func (UnimplementedPolicyRepoServer) ListPublicPolicyRepos(context.Context, *ListPublicPolicyReposRequest) (*ListPublicPolicyReposResponse, error)
- func (UnimplementedPolicyRepoServer) UpdatePolicyRepo(context.Context, *UpdatePolicyRepoRequest) (*UpdatePolicyRepoResponse, error)
- type UnimplementedPolicyServer
- func (UnimplementedPolicyServer) CreatePolicyImage(context.Context, *CreatePolicyImageRequest) (*CreatePolicyImageResponse, error)
- func (UnimplementedPolicyServer) DeletePolicyImage(context.Context, *DeletePolicyImageRequest) (*DeletePolicyImageResponse, error)
- func (UnimplementedPolicyServer) GetPolicyImage(context.Context, *GetPolicyImageRequest) (*GetPolicyImageResponse, error)
- func (UnimplementedPolicyServer) ListPolicyImages(context.Context, *ListPolicyImagesRequest) (*ListPolicyImagesResponse, error)
- func (UnimplementedPolicyServer) ListPublicPolicyImages(context.Context, *ListPublicPolicyImagesRequest) (*ListPublicPolicyImagesResponse, error)
- func (UnimplementedPolicyServer) UpdatePolicyImage(context.Context, *UpdatePolicyImageRequest) (*UpdatePolicyImageResponse, error)
- type UnimplementedTenantServer
- type UnsafePolicyRepoServer
- type UnsafePolicyServer
- type UnsafeTenantServer
- type UpdatePolicyImageRequest
- func (*UpdatePolicyImageRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdatePolicyImageRequest) GetPolicyRef() *v1.PolicyRef
- func (x *UpdatePolicyImageRequest) GetUpdateMask() *v1.Fields
- func (*UpdatePolicyImageRequest) ProtoMessage()
- func (x *UpdatePolicyImageRequest) ProtoReflect() protoreflect.Message
- func (x *UpdatePolicyImageRequest) Reset()
- func (x *UpdatePolicyImageRequest) String() string
- type UpdatePolicyImageResponse
- func (*UpdatePolicyImageResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdatePolicyImageResponse) GetResults() *emptypb.Empty
- func (*UpdatePolicyImageResponse) ProtoMessage()
- func (x *UpdatePolicyImageResponse) ProtoReflect() protoreflect.Message
- func (x *UpdatePolicyImageResponse) Reset()
- func (x *UpdatePolicyImageResponse) String() string
- type UpdatePolicyRepoRequest
- func (*UpdatePolicyRepoRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdatePolicyRepoRequest) GetPolicyRepo() *v1.PolicyRepo
- func (*UpdatePolicyRepoRequest) ProtoMessage()
- func (x *UpdatePolicyRepoRequest) ProtoReflect() protoreflect.Message
- func (x *UpdatePolicyRepoRequest) Reset()
- func (x *UpdatePolicyRepoRequest) String() string
- type UpdatePolicyRepoResponse
- func (*UpdatePolicyRepoResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdatePolicyRepoResponse) GetResults() *emptypb.Empty
- func (*UpdatePolicyRepoResponse) ProtoMessage()
- func (x *UpdatePolicyRepoResponse) ProtoReflect() protoreflect.Message
- func (x *UpdatePolicyRepoResponse) Reset()
- func (x *UpdatePolicyRepoResponse) String() string
Constants ¶
This section is empty.
Variables ¶
var File_aserto_registry_tenant_v1_policy_proto protoreflect.FileDescriptor
var File_aserto_registry_tenant_v1_policy_repo_proto protoreflect.FileDescriptor
var File_aserto_registry_tenant_v1_tenant_proto protoreflect.FileDescriptor
var PolicyRepo_ServiceDesc = grpc.ServiceDesc{ ServiceName: "aserto.registry_tenant.v1.PolicyRepo", HandlerType: (*PolicyRepoServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetPolicyRepo", Handler: _PolicyRepo_GetPolicyRepo_Handler, }, { MethodName: "ListPolicyRepos", Handler: _PolicyRepo_ListPolicyRepos_Handler, }, { MethodName: "ListPublicPolicyRepos", Handler: _PolicyRepo_ListPublicPolicyRepos_Handler, }, { MethodName: "CreatePolicyRepo", Handler: _PolicyRepo_CreatePolicyRepo_Handler, }, { MethodName: "DeletePolicyRepo", Handler: _PolicyRepo_DeletePolicyRepo_Handler, }, { MethodName: "UpdatePolicyRepo", Handler: _PolicyRepo_UpdatePolicyRepo_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "aserto/registry_tenant/v1/policy_repo.proto", }
PolicyRepo_ServiceDesc is the grpc.ServiceDesc for PolicyRepo service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var Policy_ServiceDesc = grpc.ServiceDesc{ ServiceName: "aserto.registry_tenant.v1.Policy", HandlerType: (*PolicyServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetPolicyImage", Handler: _Policy_GetPolicyImage_Handler, }, { MethodName: "ListPolicyImages", Handler: _Policy_ListPolicyImages_Handler, }, { MethodName: "ListPublicPolicyImages", Handler: _Policy_ListPublicPolicyImages_Handler, }, { MethodName: "CreatePolicyImage", Handler: _Policy_CreatePolicyImage_Handler, }, { MethodName: "DeletePolicyImage", Handler: _Policy_DeletePolicyImage_Handler, }, { MethodName: "UpdatePolicyImage", Handler: _Policy_UpdatePolicyImage_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "aserto/registry_tenant/v1/policy.proto", }
Policy_ServiceDesc is the grpc.ServiceDesc for Policy service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var Tenant_ServiceDesc = grpc.ServiceDesc{ ServiceName: "aserto.registry_tenant.v1.Tenant", HandlerType: (*TenantServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "ListTenants", Handler: _Tenant_ListTenants_Handler, }, { MethodName: "ListPublicTenants", Handler: _Tenant_ListPublicTenants_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "aserto/registry_tenant/v1/tenant.proto", }
Tenant_ServiceDesc is the grpc.ServiceDesc for Tenant service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterPolicyHandler ¶
RegisterPolicyHandler registers the http handlers for service Policy to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterPolicyHandlerClient ¶
func RegisterPolicyHandlerClient(ctx context.Context, mux *runtime.ServeMux, client PolicyClient) error
RegisterPolicyHandlerClient registers the http handlers for service Policy to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "PolicyClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "PolicyClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "PolicyClient" to call the correct interceptors.
func RegisterPolicyHandlerFromEndpoint ¶
func RegisterPolicyHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterPolicyHandlerFromEndpoint is same as RegisterPolicyHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterPolicyHandlerServer ¶
func RegisterPolicyHandlerServer(ctx context.Context, mux *runtime.ServeMux, server PolicyServer) error
RegisterPolicyHandlerServer registers the http handlers for service Policy to "mux". UnaryRPC :call PolicyServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterPolicyHandlerFromEndpoint instead.
func RegisterPolicyRepoHandler ¶ added in v0.8.0
func RegisterPolicyRepoHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterPolicyRepoHandler registers the http handlers for service PolicyRepo to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterPolicyRepoHandlerClient ¶ added in v0.8.0
func RegisterPolicyRepoHandlerClient(ctx context.Context, mux *runtime.ServeMux, client PolicyRepoClient) error
RegisterPolicyRepoHandlerClient registers the http handlers for service PolicyRepo to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "PolicyRepoClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "PolicyRepoClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "PolicyRepoClient" to call the correct interceptors.
func RegisterPolicyRepoHandlerFromEndpoint ¶ added in v0.8.0
func RegisterPolicyRepoHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterPolicyRepoHandlerFromEndpoint is same as RegisterPolicyRepoHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterPolicyRepoHandlerServer ¶ added in v0.8.0
func RegisterPolicyRepoHandlerServer(ctx context.Context, mux *runtime.ServeMux, server PolicyRepoServer) error
RegisterPolicyRepoHandlerServer registers the http handlers for service PolicyRepo to "mux". UnaryRPC :call PolicyRepoServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterPolicyRepoHandlerFromEndpoint instead.
func RegisterPolicyRepoServer ¶ added in v0.8.0
func RegisterPolicyRepoServer(s grpc.ServiceRegistrar, srv PolicyRepoServer)
func RegisterPolicyServer ¶
func RegisterPolicyServer(s grpc.ServiceRegistrar, srv PolicyServer)
func RegisterTenantHandler ¶
RegisterTenantHandler registers the http handlers for service Tenant to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterTenantHandlerClient ¶
func RegisterTenantHandlerClient(ctx context.Context, mux *runtime.ServeMux, client TenantClient) error
RegisterTenantHandlerClient registers the http handlers for service Tenant to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "TenantClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "TenantClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "TenantClient" to call the correct interceptors.
func RegisterTenantHandlerFromEndpoint ¶
func RegisterTenantHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterTenantHandlerFromEndpoint is same as RegisterTenantHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterTenantHandlerServer ¶
func RegisterTenantHandlerServer(ctx context.Context, mux *runtime.ServeMux, server TenantServer) error
RegisterTenantHandlerServer registers the http handlers for service Tenant to "mux". UnaryRPC :call TenantServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterTenantHandlerFromEndpoint instead.
func RegisterTenantServer ¶
func RegisterTenantServer(s grpc.ServiceRegistrar, srv TenantServer)
Types ¶
type CreatePolicyImageRequest ¶
type CreatePolicyImageRequest struct { PolicyRef *v1.PolicyRef `protobuf:"bytes,1,opt,name=policy_ref,json=policyRef,proto3" json:"policy_ref,omitempty"` ForceReconnect bool `protobuf:"varint,2,opt,name=force_reconnect,json=forceReconnect,proto3" json:"force_reconnect,omitempty"` // contains filtered or unexported fields }
func (*CreatePolicyImageRequest) Descriptor
deprecated
func (*CreatePolicyImageRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreatePolicyImageRequest.ProtoReflect.Descriptor instead.
func (*CreatePolicyImageRequest) GetForceReconnect ¶
func (x *CreatePolicyImageRequest) GetForceReconnect() bool
func (*CreatePolicyImageRequest) GetPolicyRef ¶
func (x *CreatePolicyImageRequest) GetPolicyRef() *v1.PolicyRef
func (*CreatePolicyImageRequest) ProtoMessage ¶
func (*CreatePolicyImageRequest) ProtoMessage()
func (*CreatePolicyImageRequest) ProtoReflect ¶
func (x *CreatePolicyImageRequest) ProtoReflect() protoreflect.Message
func (*CreatePolicyImageRequest) Reset ¶
func (x *CreatePolicyImageRequest) Reset()
func (*CreatePolicyImageRequest) String ¶
func (x *CreatePolicyImageRequest) String() string
type CreatePolicyImageResponse ¶
type CreatePolicyImageResponse struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*CreatePolicyImageResponse) Descriptor
deprecated
func (*CreatePolicyImageResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreatePolicyImageResponse.ProtoReflect.Descriptor instead.
func (*CreatePolicyImageResponse) GetId ¶
func (x *CreatePolicyImageResponse) GetId() string
func (*CreatePolicyImageResponse) ProtoMessage ¶
func (*CreatePolicyImageResponse) ProtoMessage()
func (*CreatePolicyImageResponse) ProtoReflect ¶
func (x *CreatePolicyImageResponse) ProtoReflect() protoreflect.Message
func (*CreatePolicyImageResponse) Reset ¶
func (x *CreatePolicyImageResponse) Reset()
func (*CreatePolicyImageResponse) String ¶
func (x *CreatePolicyImageResponse) String() string
type CreatePolicyRepoRequest ¶ added in v0.8.0
type CreatePolicyRepoRequest struct { PolicyRepo *v1.PolicyRepo `protobuf:"bytes,1,opt,name=policy_repo,json=policyRepo,proto3" json:"policy_repo,omitempty"` // contains filtered or unexported fields }
func (*CreatePolicyRepoRequest) Descriptor
deprecated
added in
v0.8.0
func (*CreatePolicyRepoRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreatePolicyRepoRequest.ProtoReflect.Descriptor instead.
func (*CreatePolicyRepoRequest) GetPolicyRepo ¶ added in v0.8.0
func (x *CreatePolicyRepoRequest) GetPolicyRepo() *v1.PolicyRepo
func (*CreatePolicyRepoRequest) ProtoMessage ¶ added in v0.8.0
func (*CreatePolicyRepoRequest) ProtoMessage()
func (*CreatePolicyRepoRequest) ProtoReflect ¶ added in v0.8.0
func (x *CreatePolicyRepoRequest) ProtoReflect() protoreflect.Message
func (*CreatePolicyRepoRequest) Reset ¶ added in v0.8.0
func (x *CreatePolicyRepoRequest) Reset()
func (*CreatePolicyRepoRequest) String ¶ added in v0.8.0
func (x *CreatePolicyRepoRequest) String() string
type CreatePolicyRepoResponse ¶ added in v0.8.0
type CreatePolicyRepoResponse struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*CreatePolicyRepoResponse) Descriptor
deprecated
added in
v0.8.0
func (*CreatePolicyRepoResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreatePolicyRepoResponse.ProtoReflect.Descriptor instead.
func (*CreatePolicyRepoResponse) GetId ¶ added in v0.8.0
func (x *CreatePolicyRepoResponse) GetId() string
func (*CreatePolicyRepoResponse) ProtoMessage ¶ added in v0.8.0
func (*CreatePolicyRepoResponse) ProtoMessage()
func (*CreatePolicyRepoResponse) ProtoReflect ¶ added in v0.8.0
func (x *CreatePolicyRepoResponse) ProtoReflect() protoreflect.Message
func (*CreatePolicyRepoResponse) Reset ¶ added in v0.8.0
func (x *CreatePolicyRepoResponse) Reset()
func (*CreatePolicyRepoResponse) String ¶ added in v0.8.0
func (x *CreatePolicyRepoResponse) String() string
type DeletePolicyImageRequest ¶
type DeletePolicyImageRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*DeletePolicyImageRequest) Descriptor
deprecated
func (*DeletePolicyImageRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeletePolicyImageRequest.ProtoReflect.Descriptor instead.
func (*DeletePolicyImageRequest) GetId ¶
func (x *DeletePolicyImageRequest) GetId() string
func (*DeletePolicyImageRequest) ProtoMessage ¶
func (*DeletePolicyImageRequest) ProtoMessage()
func (*DeletePolicyImageRequest) ProtoReflect ¶
func (x *DeletePolicyImageRequest) ProtoReflect() protoreflect.Message
func (*DeletePolicyImageRequest) Reset ¶
func (x *DeletePolicyImageRequest) Reset()
func (*DeletePolicyImageRequest) String ¶
func (x *DeletePolicyImageRequest) String() string
type DeletePolicyImageResponse ¶
type DeletePolicyImageResponse struct { Result *emptypb.Empty `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` // contains filtered or unexported fields }
func (*DeletePolicyImageResponse) Descriptor
deprecated
func (*DeletePolicyImageResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeletePolicyImageResponse.ProtoReflect.Descriptor instead.
func (*DeletePolicyImageResponse) GetResult ¶
func (x *DeletePolicyImageResponse) GetResult() *emptypb.Empty
func (*DeletePolicyImageResponse) ProtoMessage ¶
func (*DeletePolicyImageResponse) ProtoMessage()
func (*DeletePolicyImageResponse) ProtoReflect ¶
func (x *DeletePolicyImageResponse) ProtoReflect() protoreflect.Message
func (*DeletePolicyImageResponse) Reset ¶
func (x *DeletePolicyImageResponse) Reset()
func (*DeletePolicyImageResponse) String ¶
func (x *DeletePolicyImageResponse) String() string
type DeletePolicyRepoRequest ¶ added in v0.8.0
type DeletePolicyRepoRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*DeletePolicyRepoRequest) Descriptor
deprecated
added in
v0.8.0
func (*DeletePolicyRepoRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeletePolicyRepoRequest.ProtoReflect.Descriptor instead.
func (*DeletePolicyRepoRequest) GetId ¶ added in v0.8.0
func (x *DeletePolicyRepoRequest) GetId() string
func (*DeletePolicyRepoRequest) ProtoMessage ¶ added in v0.8.0
func (*DeletePolicyRepoRequest) ProtoMessage()
func (*DeletePolicyRepoRequest) ProtoReflect ¶ added in v0.8.0
func (x *DeletePolicyRepoRequest) ProtoReflect() protoreflect.Message
func (*DeletePolicyRepoRequest) Reset ¶ added in v0.8.0
func (x *DeletePolicyRepoRequest) Reset()
func (*DeletePolicyRepoRequest) String ¶ added in v0.8.0
func (x *DeletePolicyRepoRequest) String() string
type DeletePolicyRepoResponse ¶ added in v0.8.0
type DeletePolicyRepoResponse struct { Result *emptypb.Empty `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` // contains filtered or unexported fields }
func (*DeletePolicyRepoResponse) Descriptor
deprecated
added in
v0.8.0
func (*DeletePolicyRepoResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeletePolicyRepoResponse.ProtoReflect.Descriptor instead.
func (*DeletePolicyRepoResponse) GetResult ¶ added in v0.8.0
func (x *DeletePolicyRepoResponse) GetResult() *emptypb.Empty
func (*DeletePolicyRepoResponse) ProtoMessage ¶ added in v0.8.0
func (*DeletePolicyRepoResponse) ProtoMessage()
func (*DeletePolicyRepoResponse) ProtoReflect ¶ added in v0.8.0
func (x *DeletePolicyRepoResponse) ProtoReflect() protoreflect.Message
func (*DeletePolicyRepoResponse) Reset ¶ added in v0.8.0
func (x *DeletePolicyRepoResponse) Reset()
func (*DeletePolicyRepoResponse) String ¶ added in v0.8.0
func (x *DeletePolicyRepoResponse) String() string
type GetPolicyImageRequest ¶
type GetPolicyImageRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*GetPolicyImageRequest) Descriptor
deprecated
func (*GetPolicyImageRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetPolicyImageRequest.ProtoReflect.Descriptor instead.
func (*GetPolicyImageRequest) GetId ¶
func (x *GetPolicyImageRequest) GetId() string
func (*GetPolicyImageRequest) ProtoMessage ¶
func (*GetPolicyImageRequest) ProtoMessage()
func (*GetPolicyImageRequest) ProtoReflect ¶
func (x *GetPolicyImageRequest) ProtoReflect() protoreflect.Message
func (*GetPolicyImageRequest) Reset ¶
func (x *GetPolicyImageRequest) Reset()
func (*GetPolicyImageRequest) String ¶
func (x *GetPolicyImageRequest) String() string
type GetPolicyImageResponse ¶
type GetPolicyImageResponse struct { Policy *v1.PolicyRef `protobuf:"bytes,1,opt,name=policy,proto3" json:"policy,omitempty"` // contains filtered or unexported fields }
func (*GetPolicyImageResponse) Descriptor
deprecated
func (*GetPolicyImageResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetPolicyImageResponse.ProtoReflect.Descriptor instead.
func (*GetPolicyImageResponse) GetPolicy ¶
func (x *GetPolicyImageResponse) GetPolicy() *v1.PolicyRef
func (*GetPolicyImageResponse) ProtoMessage ¶
func (*GetPolicyImageResponse) ProtoMessage()
func (*GetPolicyImageResponse) ProtoReflect ¶
func (x *GetPolicyImageResponse) ProtoReflect() protoreflect.Message
func (*GetPolicyImageResponse) Reset ¶
func (x *GetPolicyImageResponse) Reset()
func (*GetPolicyImageResponse) String ¶
func (x *GetPolicyImageResponse) String() string
type GetPolicyRepoRequest ¶ added in v0.8.0
type GetPolicyRepoRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*GetPolicyRepoRequest) Descriptor
deprecated
added in
v0.8.0
func (*GetPolicyRepoRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetPolicyRepoRequest.ProtoReflect.Descriptor instead.
func (*GetPolicyRepoRequest) GetId ¶ added in v0.8.0
func (x *GetPolicyRepoRequest) GetId() string
func (*GetPolicyRepoRequest) ProtoMessage ¶ added in v0.8.0
func (*GetPolicyRepoRequest) ProtoMessage()
func (*GetPolicyRepoRequest) ProtoReflect ¶ added in v0.8.0
func (x *GetPolicyRepoRequest) ProtoReflect() protoreflect.Message
func (*GetPolicyRepoRequest) Reset ¶ added in v0.8.0
func (x *GetPolicyRepoRequest) Reset()
func (*GetPolicyRepoRequest) String ¶ added in v0.8.0
func (x *GetPolicyRepoRequest) String() string
type GetPolicyRepoResponse ¶ added in v0.8.0
type GetPolicyRepoResponse struct { Policy *v1.PolicyRepo `protobuf:"bytes,1,opt,name=policy,proto3" json:"policy,omitempty"` // contains filtered or unexported fields }
func (*GetPolicyRepoResponse) Descriptor
deprecated
added in
v0.8.0
func (*GetPolicyRepoResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetPolicyRepoResponse.ProtoReflect.Descriptor instead.
func (*GetPolicyRepoResponse) GetPolicy ¶ added in v0.8.0
func (x *GetPolicyRepoResponse) GetPolicy() *v1.PolicyRepo
func (*GetPolicyRepoResponse) ProtoMessage ¶ added in v0.8.0
func (*GetPolicyRepoResponse) ProtoMessage()
func (*GetPolicyRepoResponse) ProtoReflect ¶ added in v0.8.0
func (x *GetPolicyRepoResponse) ProtoReflect() protoreflect.Message
func (*GetPolicyRepoResponse) Reset ¶ added in v0.8.0
func (x *GetPolicyRepoResponse) Reset()
func (*GetPolicyRepoResponse) String ¶ added in v0.8.0
func (x *GetPolicyRepoResponse) String() string
type ListPolicyImagesRequest ¶
type ListPolicyImagesRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*ListPolicyImagesRequest) Descriptor
deprecated
func (*ListPolicyImagesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListPolicyImagesRequest.ProtoReflect.Descriptor instead.
func (*ListPolicyImagesRequest) GetName ¶
func (x *ListPolicyImagesRequest) GetName() string
func (*ListPolicyImagesRequest) ProtoMessage ¶
func (*ListPolicyImagesRequest) ProtoMessage()
func (*ListPolicyImagesRequest) ProtoReflect ¶
func (x *ListPolicyImagesRequest) ProtoReflect() protoreflect.Message
func (*ListPolicyImagesRequest) Reset ¶
func (x *ListPolicyImagesRequest) Reset()
func (*ListPolicyImagesRequest) String ¶
func (x *ListPolicyImagesRequest) String() string
type ListPolicyImagesResponse ¶
type ListPolicyImagesResponse struct { Results []*v1.PolicyRef `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"` // contains filtered or unexported fields }
func (*ListPolicyImagesResponse) Descriptor
deprecated
func (*ListPolicyImagesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListPolicyImagesResponse.ProtoReflect.Descriptor instead.
func (*ListPolicyImagesResponse) GetResults ¶
func (x *ListPolicyImagesResponse) GetResults() []*v1.PolicyRef
func (*ListPolicyImagesResponse) ProtoMessage ¶
func (*ListPolicyImagesResponse) ProtoMessage()
func (*ListPolicyImagesResponse) ProtoReflect ¶
func (x *ListPolicyImagesResponse) ProtoReflect() protoreflect.Message
func (*ListPolicyImagesResponse) Reset ¶
func (x *ListPolicyImagesResponse) Reset()
func (*ListPolicyImagesResponse) String ¶
func (x *ListPolicyImagesResponse) String() string
type ListPolicyReposRequest ¶ added in v0.8.0
type ListPolicyReposRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*ListPolicyReposRequest) Descriptor
deprecated
added in
v0.8.0
func (*ListPolicyReposRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListPolicyReposRequest.ProtoReflect.Descriptor instead.
func (*ListPolicyReposRequest) GetName ¶ added in v0.8.0
func (x *ListPolicyReposRequest) GetName() string
func (*ListPolicyReposRequest) ProtoMessage ¶ added in v0.8.0
func (*ListPolicyReposRequest) ProtoMessage()
func (*ListPolicyReposRequest) ProtoReflect ¶ added in v0.8.0
func (x *ListPolicyReposRequest) ProtoReflect() protoreflect.Message
func (*ListPolicyReposRequest) Reset ¶ added in v0.8.0
func (x *ListPolicyReposRequest) Reset()
func (*ListPolicyReposRequest) String ¶ added in v0.8.0
func (x *ListPolicyReposRequest) String() string
type ListPolicyReposResponse ¶ added in v0.8.0
type ListPolicyReposResponse struct { Results []*v1.PolicyRepo `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"` // contains filtered or unexported fields }
func (*ListPolicyReposResponse) Descriptor
deprecated
added in
v0.8.0
func (*ListPolicyReposResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListPolicyReposResponse.ProtoReflect.Descriptor instead.
func (*ListPolicyReposResponse) GetResults ¶ added in v0.8.0
func (x *ListPolicyReposResponse) GetResults() []*v1.PolicyRepo
func (*ListPolicyReposResponse) ProtoMessage ¶ added in v0.8.0
func (*ListPolicyReposResponse) ProtoMessage()
func (*ListPolicyReposResponse) ProtoReflect ¶ added in v0.8.0
func (x *ListPolicyReposResponse) ProtoReflect() protoreflect.Message
func (*ListPolicyReposResponse) Reset ¶ added in v0.8.0
func (x *ListPolicyReposResponse) Reset()
func (*ListPolicyReposResponse) String ¶ added in v0.8.0
func (x *ListPolicyReposResponse) String() string
type ListPublicPolicyImagesRequest ¶
type ListPublicPolicyImagesRequest struct {
// contains filtered or unexported fields
}
func (*ListPublicPolicyImagesRequest) Descriptor
deprecated
func (*ListPublicPolicyImagesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListPublicPolicyImagesRequest.ProtoReflect.Descriptor instead.
func (*ListPublicPolicyImagesRequest) ProtoMessage ¶
func (*ListPublicPolicyImagesRequest) ProtoMessage()
func (*ListPublicPolicyImagesRequest) ProtoReflect ¶
func (x *ListPublicPolicyImagesRequest) ProtoReflect() protoreflect.Message
func (*ListPublicPolicyImagesRequest) Reset ¶
func (x *ListPublicPolicyImagesRequest) Reset()
func (*ListPublicPolicyImagesRequest) String ¶
func (x *ListPublicPolicyImagesRequest) String() string
type ListPublicPolicyImagesResponse ¶
type ListPublicPolicyImagesResponse struct { Results []*v1.PolicyRef `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"` // contains filtered or unexported fields }
func (*ListPublicPolicyImagesResponse) Descriptor
deprecated
func (*ListPublicPolicyImagesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListPublicPolicyImagesResponse.ProtoReflect.Descriptor instead.
func (*ListPublicPolicyImagesResponse) GetResults ¶
func (x *ListPublicPolicyImagesResponse) GetResults() []*v1.PolicyRef
func (*ListPublicPolicyImagesResponse) ProtoMessage ¶
func (*ListPublicPolicyImagesResponse) ProtoMessage()
func (*ListPublicPolicyImagesResponse) ProtoReflect ¶
func (x *ListPublicPolicyImagesResponse) ProtoReflect() protoreflect.Message
func (*ListPublicPolicyImagesResponse) Reset ¶
func (x *ListPublicPolicyImagesResponse) Reset()
func (*ListPublicPolicyImagesResponse) String ¶
func (x *ListPublicPolicyImagesResponse) String() string
type ListPublicPolicyReposRequest ¶ added in v0.8.0
type ListPublicPolicyReposRequest struct {
// contains filtered or unexported fields
}
func (*ListPublicPolicyReposRequest) Descriptor
deprecated
added in
v0.8.0
func (*ListPublicPolicyReposRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListPublicPolicyReposRequest.ProtoReflect.Descriptor instead.
func (*ListPublicPolicyReposRequest) ProtoMessage ¶ added in v0.8.0
func (*ListPublicPolicyReposRequest) ProtoMessage()
func (*ListPublicPolicyReposRequest) ProtoReflect ¶ added in v0.8.0
func (x *ListPublicPolicyReposRequest) ProtoReflect() protoreflect.Message
func (*ListPublicPolicyReposRequest) Reset ¶ added in v0.8.0
func (x *ListPublicPolicyReposRequest) Reset()
func (*ListPublicPolicyReposRequest) String ¶ added in v0.8.0
func (x *ListPublicPolicyReposRequest) String() string
type ListPublicPolicyReposResponse ¶ added in v0.8.0
type ListPublicPolicyReposResponse struct { Results []*v1.PolicyRepo `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"` // contains filtered or unexported fields }
func (*ListPublicPolicyReposResponse) Descriptor
deprecated
added in
v0.8.0
func (*ListPublicPolicyReposResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListPublicPolicyReposResponse.ProtoReflect.Descriptor instead.
func (*ListPublicPolicyReposResponse) GetResults ¶ added in v0.8.0
func (x *ListPublicPolicyReposResponse) GetResults() []*v1.PolicyRepo
func (*ListPublicPolicyReposResponse) ProtoMessage ¶ added in v0.8.0
func (*ListPublicPolicyReposResponse) ProtoMessage()
func (*ListPublicPolicyReposResponse) ProtoReflect ¶ added in v0.8.0
func (x *ListPublicPolicyReposResponse) ProtoReflect() protoreflect.Message
func (*ListPublicPolicyReposResponse) Reset ¶ added in v0.8.0
func (x *ListPublicPolicyReposResponse) Reset()
func (*ListPublicPolicyReposResponse) String ¶ added in v0.8.0
func (x *ListPublicPolicyReposResponse) String() string
type ListPublicTenantsRequest ¶
type ListPublicTenantsRequest struct { Page *v1.PaginationRequest `protobuf:"bytes,2,opt,name=page,proto3" json:"page,omitempty"` Tenants []*v1.Tenant `protobuf:"bytes,1,rep,name=tenants,proto3" json:"tenants,omitempty"` // contains filtered or unexported fields }
func (*ListPublicTenantsRequest) Descriptor
deprecated
func (*ListPublicTenantsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListPublicTenantsRequest.ProtoReflect.Descriptor instead.
func (*ListPublicTenantsRequest) GetPage ¶
func (x *ListPublicTenantsRequest) GetPage() *v1.PaginationRequest
func (*ListPublicTenantsRequest) GetTenants ¶
func (x *ListPublicTenantsRequest) GetTenants() []*v1.Tenant
func (*ListPublicTenantsRequest) ProtoMessage ¶
func (*ListPublicTenantsRequest) ProtoMessage()
func (*ListPublicTenantsRequest) ProtoReflect ¶
func (x *ListPublicTenantsRequest) ProtoReflect() protoreflect.Message
func (*ListPublicTenantsRequest) Reset ¶
func (x *ListPublicTenantsRequest) Reset()
func (*ListPublicTenantsRequest) String ¶
func (x *ListPublicTenantsRequest) String() string
type ListPublicTenantsResponse ¶
type ListPublicTenantsResponse struct { Page *v1.PaginationResponse `protobuf:"bytes,2,opt,name=page,proto3" json:"page,omitempty"` Tenants []*v1.Tenant `protobuf:"bytes,1,rep,name=tenants,proto3" json:"tenants,omitempty"` // contains filtered or unexported fields }
func (*ListPublicTenantsResponse) Descriptor
deprecated
func (*ListPublicTenantsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListPublicTenantsResponse.ProtoReflect.Descriptor instead.
func (*ListPublicTenantsResponse) GetPage ¶
func (x *ListPublicTenantsResponse) GetPage() *v1.PaginationResponse
func (*ListPublicTenantsResponse) GetTenants ¶
func (x *ListPublicTenantsResponse) GetTenants() []*v1.Tenant
func (*ListPublicTenantsResponse) ProtoMessage ¶
func (*ListPublicTenantsResponse) ProtoMessage()
func (*ListPublicTenantsResponse) ProtoReflect ¶
func (x *ListPublicTenantsResponse) ProtoReflect() protoreflect.Message
func (*ListPublicTenantsResponse) Reset ¶
func (x *ListPublicTenantsResponse) Reset()
func (*ListPublicTenantsResponse) String ¶
func (x *ListPublicTenantsResponse) String() string
type ListTenantsRequest ¶
type ListTenantsRequest struct { Page *v1.PaginationRequest `protobuf:"bytes,2,opt,name=page,proto3" json:"page,omitempty"` Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*ListTenantsRequest) Descriptor
deprecated
func (*ListTenantsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListTenantsRequest.ProtoReflect.Descriptor instead.
func (*ListTenantsRequest) GetName ¶
func (x *ListTenantsRequest) GetName() string
func (*ListTenantsRequest) GetPage ¶
func (x *ListTenantsRequest) GetPage() *v1.PaginationRequest
func (*ListTenantsRequest) ProtoMessage ¶
func (*ListTenantsRequest) ProtoMessage()
func (*ListTenantsRequest) ProtoReflect ¶
func (x *ListTenantsRequest) ProtoReflect() protoreflect.Message
func (*ListTenantsRequest) Reset ¶
func (x *ListTenantsRequest) Reset()
func (*ListTenantsRequest) String ¶
func (x *ListTenantsRequest) String() string
type ListTenantsResponse ¶
type ListTenantsResponse struct { Page *v1.PaginationResponse `protobuf:"bytes,2,opt,name=page,proto3" json:"page,omitempty"` Tenants []*v1.Tenant `protobuf:"bytes,1,rep,name=tenants,proto3" json:"tenants,omitempty"` // contains filtered or unexported fields }
func (*ListTenantsResponse) Descriptor
deprecated
func (*ListTenantsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListTenantsResponse.ProtoReflect.Descriptor instead.
func (*ListTenantsResponse) GetPage ¶
func (x *ListTenantsResponse) GetPage() *v1.PaginationResponse
func (*ListTenantsResponse) GetTenants ¶
func (x *ListTenantsResponse) GetTenants() []*v1.Tenant
func (*ListTenantsResponse) ProtoMessage ¶
func (*ListTenantsResponse) ProtoMessage()
func (*ListTenantsResponse) ProtoReflect ¶
func (x *ListTenantsResponse) ProtoReflect() protoreflect.Message
func (*ListTenantsResponse) Reset ¶
func (x *ListTenantsResponse) Reset()
func (*ListTenantsResponse) String ¶
func (x *ListTenantsResponse) String() string
type PolicyClient ¶
type PolicyClient interface { GetPolicyImage(ctx context.Context, in *GetPolicyImageRequest, opts ...grpc.CallOption) (*GetPolicyImageResponse, error) ListPolicyImages(ctx context.Context, in *ListPolicyImagesRequest, opts ...grpc.CallOption) (*ListPolicyImagesResponse, error) ListPublicPolicyImages(ctx context.Context, in *ListPublicPolicyImagesRequest, opts ...grpc.CallOption) (*ListPublicPolicyImagesResponse, error) CreatePolicyImage(ctx context.Context, in *CreatePolicyImageRequest, opts ...grpc.CallOption) (*CreatePolicyImageResponse, error) DeletePolicyImage(ctx context.Context, in *DeletePolicyImageRequest, opts ...grpc.CallOption) (*DeletePolicyImageResponse, error) UpdatePolicyImage(ctx context.Context, in *UpdatePolicyImageRequest, opts ...grpc.CallOption) (*UpdatePolicyImageResponse, error) }
PolicyClient is the client API for Policy service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewPolicyClient ¶
func NewPolicyClient(cc grpc.ClientConnInterface) PolicyClient
type PolicyRepoClient ¶ added in v0.8.0
type PolicyRepoClient interface { GetPolicyRepo(ctx context.Context, in *GetPolicyRepoRequest, opts ...grpc.CallOption) (*GetPolicyRepoResponse, error) ListPolicyRepos(ctx context.Context, in *ListPolicyReposRequest, opts ...grpc.CallOption) (*ListPolicyReposResponse, error) ListPublicPolicyRepos(ctx context.Context, in *ListPublicPolicyReposRequest, opts ...grpc.CallOption) (*ListPublicPolicyReposResponse, error) CreatePolicyRepo(ctx context.Context, in *CreatePolicyRepoRequest, opts ...grpc.CallOption) (*CreatePolicyRepoResponse, error) DeletePolicyRepo(ctx context.Context, in *DeletePolicyRepoRequest, opts ...grpc.CallOption) (*DeletePolicyRepoResponse, error) UpdatePolicyRepo(ctx context.Context, in *UpdatePolicyRepoRequest, opts ...grpc.CallOption) (*UpdatePolicyRepoResponse, error) }
PolicyRepoClient is the client API for PolicyRepo service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewPolicyRepoClient ¶ added in v0.8.0
func NewPolicyRepoClient(cc grpc.ClientConnInterface) PolicyRepoClient
type PolicyRepoServer ¶ added in v0.8.0
type PolicyRepoServer interface { GetPolicyRepo(context.Context, *GetPolicyRepoRequest) (*GetPolicyRepoResponse, error) ListPolicyRepos(context.Context, *ListPolicyReposRequest) (*ListPolicyReposResponse, error) ListPublicPolicyRepos(context.Context, *ListPublicPolicyReposRequest) (*ListPublicPolicyReposResponse, error) CreatePolicyRepo(context.Context, *CreatePolicyRepoRequest) (*CreatePolicyRepoResponse, error) DeletePolicyRepo(context.Context, *DeletePolicyRepoRequest) (*DeletePolicyRepoResponse, error) UpdatePolicyRepo(context.Context, *UpdatePolicyRepoRequest) (*UpdatePolicyRepoResponse, error) }
PolicyRepoServer is the server API for PolicyRepo service. All implementations should embed UnimplementedPolicyRepoServer for forward compatibility
type PolicyServer ¶
type PolicyServer interface { GetPolicyImage(context.Context, *GetPolicyImageRequest) (*GetPolicyImageResponse, error) ListPolicyImages(context.Context, *ListPolicyImagesRequest) (*ListPolicyImagesResponse, error) ListPublicPolicyImages(context.Context, *ListPublicPolicyImagesRequest) (*ListPublicPolicyImagesResponse, error) CreatePolicyImage(context.Context, *CreatePolicyImageRequest) (*CreatePolicyImageResponse, error) DeletePolicyImage(context.Context, *DeletePolicyImageRequest) (*DeletePolicyImageResponse, error) UpdatePolicyImage(context.Context, *UpdatePolicyImageRequest) (*UpdatePolicyImageResponse, error) }
PolicyServer is the server API for Policy service. All implementations should embed UnimplementedPolicyServer for forward compatibility
type TenantClient ¶
type TenantClient interface { ListTenants(ctx context.Context, in *ListTenantsRequest, opts ...grpc.CallOption) (*ListTenantsResponse, error) ListPublicTenants(ctx context.Context, in *ListPublicTenantsRequest, opts ...grpc.CallOption) (*ListPublicTenantsResponse, error) }
TenantClient is the client API for Tenant service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewTenantClient ¶
func NewTenantClient(cc grpc.ClientConnInterface) TenantClient
type TenantServer ¶
type TenantServer interface { ListTenants(context.Context, *ListTenantsRequest) (*ListTenantsResponse, error) ListPublicTenants(context.Context, *ListPublicTenantsRequest) (*ListPublicTenantsResponse, error) }
TenantServer is the server API for Tenant service. All implementations should embed UnimplementedTenantServer for forward compatibility
type UnimplementedPolicyRepoServer ¶ added in v0.8.0
type UnimplementedPolicyRepoServer struct { }
UnimplementedPolicyRepoServer should be embedded to have forward compatible implementations.
func (UnimplementedPolicyRepoServer) CreatePolicyRepo ¶ added in v0.8.0
func (UnimplementedPolicyRepoServer) CreatePolicyRepo(context.Context, *CreatePolicyRepoRequest) (*CreatePolicyRepoResponse, error)
func (UnimplementedPolicyRepoServer) DeletePolicyRepo ¶ added in v0.8.0
func (UnimplementedPolicyRepoServer) DeletePolicyRepo(context.Context, *DeletePolicyRepoRequest) (*DeletePolicyRepoResponse, error)
func (UnimplementedPolicyRepoServer) GetPolicyRepo ¶ added in v0.8.0
func (UnimplementedPolicyRepoServer) GetPolicyRepo(context.Context, *GetPolicyRepoRequest) (*GetPolicyRepoResponse, error)
func (UnimplementedPolicyRepoServer) ListPolicyRepos ¶ added in v0.8.0
func (UnimplementedPolicyRepoServer) ListPolicyRepos(context.Context, *ListPolicyReposRequest) (*ListPolicyReposResponse, error)
func (UnimplementedPolicyRepoServer) ListPublicPolicyRepos ¶ added in v0.8.0
func (UnimplementedPolicyRepoServer) ListPublicPolicyRepos(context.Context, *ListPublicPolicyReposRequest) (*ListPublicPolicyReposResponse, error)
func (UnimplementedPolicyRepoServer) UpdatePolicyRepo ¶ added in v0.8.0
func (UnimplementedPolicyRepoServer) UpdatePolicyRepo(context.Context, *UpdatePolicyRepoRequest) (*UpdatePolicyRepoResponse, error)
type UnimplementedPolicyServer ¶
type UnimplementedPolicyServer struct { }
UnimplementedPolicyServer should be embedded to have forward compatible implementations.
func (UnimplementedPolicyServer) CreatePolicyImage ¶
func (UnimplementedPolicyServer) CreatePolicyImage(context.Context, *CreatePolicyImageRequest) (*CreatePolicyImageResponse, error)
func (UnimplementedPolicyServer) DeletePolicyImage ¶
func (UnimplementedPolicyServer) DeletePolicyImage(context.Context, *DeletePolicyImageRequest) (*DeletePolicyImageResponse, error)
func (UnimplementedPolicyServer) GetPolicyImage ¶
func (UnimplementedPolicyServer) GetPolicyImage(context.Context, *GetPolicyImageRequest) (*GetPolicyImageResponse, error)
func (UnimplementedPolicyServer) ListPolicyImages ¶
func (UnimplementedPolicyServer) ListPolicyImages(context.Context, *ListPolicyImagesRequest) (*ListPolicyImagesResponse, error)
func (UnimplementedPolicyServer) ListPublicPolicyImages ¶
func (UnimplementedPolicyServer) ListPublicPolicyImages(context.Context, *ListPublicPolicyImagesRequest) (*ListPublicPolicyImagesResponse, error)
func (UnimplementedPolicyServer) UpdatePolicyImage ¶
func (UnimplementedPolicyServer) UpdatePolicyImage(context.Context, *UpdatePolicyImageRequest) (*UpdatePolicyImageResponse, error)
type UnimplementedTenantServer ¶
type UnimplementedTenantServer struct { }
UnimplementedTenantServer should be embedded to have forward compatible implementations.
func (UnimplementedTenantServer) ListPublicTenants ¶
func (UnimplementedTenantServer) ListPublicTenants(context.Context, *ListPublicTenantsRequest) (*ListPublicTenantsResponse, error)
func (UnimplementedTenantServer) ListTenants ¶
func (UnimplementedTenantServer) ListTenants(context.Context, *ListTenantsRequest) (*ListTenantsResponse, error)
type UnsafePolicyRepoServer ¶ added in v0.8.0
type UnsafePolicyRepoServer interface {
// contains filtered or unexported methods
}
UnsafePolicyRepoServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to PolicyRepoServer will result in compilation errors.
type UnsafePolicyServer ¶
type UnsafePolicyServer interface {
// contains filtered or unexported methods
}
UnsafePolicyServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to PolicyServer will result in compilation errors.
type UnsafeTenantServer ¶
type UnsafeTenantServer interface {
// contains filtered or unexported methods
}
UnsafeTenantServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to TenantServer will result in compilation errors.
type UpdatePolicyImageRequest ¶
type UpdatePolicyImageRequest struct { PolicyRef *v1.PolicyRef `protobuf:"bytes,1,opt,name=policy_ref,json=policyRef,proto3" json:"policy_ref,omitempty"` UpdateMask *v1.Fields `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` // contains filtered or unexported fields }
func (*UpdatePolicyImageRequest) Descriptor
deprecated
func (*UpdatePolicyImageRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdatePolicyImageRequest.ProtoReflect.Descriptor instead.
func (*UpdatePolicyImageRequest) GetPolicyRef ¶
func (x *UpdatePolicyImageRequest) GetPolicyRef() *v1.PolicyRef
func (*UpdatePolicyImageRequest) GetUpdateMask ¶
func (x *UpdatePolicyImageRequest) GetUpdateMask() *v1.Fields
func (*UpdatePolicyImageRequest) ProtoMessage ¶
func (*UpdatePolicyImageRequest) ProtoMessage()
func (*UpdatePolicyImageRequest) ProtoReflect ¶
func (x *UpdatePolicyImageRequest) ProtoReflect() protoreflect.Message
func (*UpdatePolicyImageRequest) Reset ¶
func (x *UpdatePolicyImageRequest) Reset()
func (*UpdatePolicyImageRequest) String ¶
func (x *UpdatePolicyImageRequest) String() string
type UpdatePolicyImageResponse ¶
type UpdatePolicyImageResponse struct { Results *emptypb.Empty `protobuf:"bytes,1,opt,name=results,proto3" json:"results,omitempty"` // contains filtered or unexported fields }
func (*UpdatePolicyImageResponse) Descriptor
deprecated
func (*UpdatePolicyImageResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdatePolicyImageResponse.ProtoReflect.Descriptor instead.
func (*UpdatePolicyImageResponse) GetResults ¶
func (x *UpdatePolicyImageResponse) GetResults() *emptypb.Empty
func (*UpdatePolicyImageResponse) ProtoMessage ¶
func (*UpdatePolicyImageResponse) ProtoMessage()
func (*UpdatePolicyImageResponse) ProtoReflect ¶
func (x *UpdatePolicyImageResponse) ProtoReflect() protoreflect.Message
func (*UpdatePolicyImageResponse) Reset ¶
func (x *UpdatePolicyImageResponse) Reset()
func (*UpdatePolicyImageResponse) String ¶
func (x *UpdatePolicyImageResponse) String() string
type UpdatePolicyRepoRequest ¶ added in v0.8.0
type UpdatePolicyRepoRequest struct { PolicyRepo *v1.PolicyRepo `protobuf:"bytes,1,opt,name=policy_repo,json=policyRepo,proto3" json:"policy_repo,omitempty"` // contains filtered or unexported fields }
func (*UpdatePolicyRepoRequest) Descriptor
deprecated
added in
v0.8.0
func (*UpdatePolicyRepoRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdatePolicyRepoRequest.ProtoReflect.Descriptor instead.
func (*UpdatePolicyRepoRequest) GetPolicyRepo ¶ added in v0.8.0
func (x *UpdatePolicyRepoRequest) GetPolicyRepo() *v1.PolicyRepo
func (*UpdatePolicyRepoRequest) ProtoMessage ¶ added in v0.8.0
func (*UpdatePolicyRepoRequest) ProtoMessage()
func (*UpdatePolicyRepoRequest) ProtoReflect ¶ added in v0.8.0
func (x *UpdatePolicyRepoRequest) ProtoReflect() protoreflect.Message
func (*UpdatePolicyRepoRequest) Reset ¶ added in v0.8.0
func (x *UpdatePolicyRepoRequest) Reset()
func (*UpdatePolicyRepoRequest) String ¶ added in v0.8.0
func (x *UpdatePolicyRepoRequest) String() string
type UpdatePolicyRepoResponse ¶ added in v0.8.0
type UpdatePolicyRepoResponse struct { Results *emptypb.Empty `protobuf:"bytes,1,opt,name=results,proto3" json:"results,omitempty"` // contains filtered or unexported fields }
func (*UpdatePolicyRepoResponse) Descriptor
deprecated
added in
v0.8.0
func (*UpdatePolicyRepoResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdatePolicyRepoResponse.ProtoReflect.Descriptor instead.
func (*UpdatePolicyRepoResponse) GetResults ¶ added in v0.8.0
func (x *UpdatePolicyRepoResponse) GetResults() *emptypb.Empty
func (*UpdatePolicyRepoResponse) ProtoMessage ¶ added in v0.8.0
func (*UpdatePolicyRepoResponse) ProtoMessage()
func (*UpdatePolicyRepoResponse) ProtoReflect ¶ added in v0.8.0
func (x *UpdatePolicyRepoResponse) ProtoReflect() protoreflect.Message
func (*UpdatePolicyRepoResponse) Reset ¶ added in v0.8.0
func (x *UpdatePolicyRepoResponse) Reset()
func (*UpdatePolicyRepoResponse) String ¶ added in v0.8.0
func (x *UpdatePolicyRepoResponse) String() string