registry_tenant

package
v0.8.69 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2024 License: Apache-2.0 Imports: 20 Imported by: 1

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

Constants

View Source
const (
	Policy_GetPolicyImage_FullMethodName         = "/aserto.registry_tenant.v1.Policy/GetPolicyImage"
	Policy_ListPolicyImages_FullMethodName       = "/aserto.registry_tenant.v1.Policy/ListPolicyImages"
	Policy_ListPublicPolicyImages_FullMethodName = "/aserto.registry_tenant.v1.Policy/ListPublicPolicyImages"
	Policy_CreatePolicyImage_FullMethodName      = "/aserto.registry_tenant.v1.Policy/CreatePolicyImage"
	Policy_DeletePolicyImage_FullMethodName      = "/aserto.registry_tenant.v1.Policy/DeletePolicyImage"
	Policy_UpdatePolicyImage_FullMethodName      = "/aserto.registry_tenant.v1.Policy/UpdatePolicyImage"
)
View Source
const (
	PolicyRepo_GetPolicyRepo_FullMethodName         = "/aserto.registry_tenant.v1.PolicyRepo/GetPolicyRepo"
	PolicyRepo_ListPolicyRepos_FullMethodName       = "/aserto.registry_tenant.v1.PolicyRepo/ListPolicyRepos"
	PolicyRepo_ListPublicPolicyRepos_FullMethodName = "/aserto.registry_tenant.v1.PolicyRepo/ListPublicPolicyRepos"
	PolicyRepo_CreatePolicyRepo_FullMethodName      = "/aserto.registry_tenant.v1.PolicyRepo/CreatePolicyRepo"
	PolicyRepo_DeletePolicyRepo_FullMethodName      = "/aserto.registry_tenant.v1.PolicyRepo/DeletePolicyRepo"
	PolicyRepo_UpdatePolicyRepo_FullMethodName      = "/aserto.registry_tenant.v1.PolicyRepo/UpdatePolicyRepo"
)
View Source
const (
	Tenant_ListTenants_FullMethodName       = "/aserto.registry_tenant.v1.Tenant/ListTenants"
	Tenant_ListPublicTenants_FullMethodName = "/aserto.registry_tenant.v1.Tenant/ListPublicTenants"
)

Variables

View Source
var File_aserto_registry_tenant_v1_policy_proto protoreflect.FileDescriptor
View Source
var File_aserto_registry_tenant_v1_policy_repo_proto protoreflect.FileDescriptor
View Source
var File_aserto_registry_tenant_v1_tenant_proto protoreflect.FileDescriptor
View Source
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)

View Source
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)

View Source
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

func RegisterPolicyHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

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. This client ignores the HTTP middlewares.

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. GRPC interceptors will not work for this type of registration. To use interceptors, you must use the "runtime.WithMiddlewares" option in the "runtime.NewServeMux" call.

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. This client ignores the HTTP middlewares.

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. GRPC interceptors will not work for this type of registration. To use interceptors, you must use the "runtime.WithMiddlewares" option in the "runtime.NewServeMux" call.

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

func RegisterTenantHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

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. This client ignores the HTTP middlewares.

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. GRPC interceptors will not work for this type of registration. To use interceptors, you must use the "runtime.WithMiddlewares" option in the "runtime.NewServeMux" call.

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 (*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 (*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 (*ListPublicPolicyImagesRequest) Reset

func (x *ListPublicPolicyImagesRequest) Reset()

func (*ListPublicPolicyImagesRequest) 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 (*ListPublicPolicyImagesResponse) Reset

func (x *ListPublicPolicyImagesResponse) Reset()

func (*ListPublicPolicyImagesResponse) 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 (*ListPublicPolicyReposRequest) Reset added in v0.8.0

func (x *ListPublicPolicyReposRequest) Reset()

func (*ListPublicPolicyReposRequest) String added in v0.8.0

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 (*ListPublicPolicyReposResponse) Reset added in v0.8.0

func (x *ListPublicPolicyReposResponse) Reset()

func (*ListPublicPolicyReposResponse) String added in v0.8.0

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 (*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 (*ListPublicTenantsResponse) GetTenants

func (x *ListPublicTenantsResponse) GetTenants() []*v1.Tenant

func (*ListPublicTenantsResponse) ProtoMessage

func (*ListPublicTenantsResponse) ProtoMessage()

func (*ListPublicTenantsResponse) ProtoReflect

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 (*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

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

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

PolicyRepoServer is the server API for PolicyRepo service. All implementations should embed UnimplementedPolicyRepoServer for forward compatibility.

type PolicyServer

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.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedPolicyRepoServer) CreatePolicyRepo added in v0.8.0

func (UnimplementedPolicyRepoServer) DeletePolicyRepo added in v0.8.0

func (UnimplementedPolicyRepoServer) GetPolicyRepo added in v0.8.0

func (UnimplementedPolicyRepoServer) ListPolicyRepos added in v0.8.0

func (UnimplementedPolicyRepoServer) ListPublicPolicyRepos added in v0.8.0

func (UnimplementedPolicyRepoServer) UpdatePolicyRepo added in v0.8.0

type UnimplementedPolicyServer

type UnimplementedPolicyServer struct{}

UnimplementedPolicyServer should be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedPolicyServer) GetPolicyImage

func (UnimplementedPolicyServer) ListPolicyImages

type UnimplementedTenantServer

type UnimplementedTenantServer struct{}

UnimplementedTenantServer should be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedTenantServer) ListTenants

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 (*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

Jump to

Keyboard shortcuts

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