v1

package
v0.143.0 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	StatusService_Infoz_FullMethodName   = "/cas.v1.StatusService/Infoz"
	StatusService_Statusz_FullMethodName = "/cas.v1.StatusService/Statusz"
)
View Source
const OperationStatusServiceInfoz = "/cas.v1.StatusService/Infoz"
View Source
const OperationStatusServiceStatusz = "/cas.v1.StatusService/Statusz"
View Source
const (
	ResourceService_Describe_FullMethodName = "/cas.v1.ResourceService/Describe"
)

Variables

View Source
var File_cas_v1_resource_proto protoreflect.FileDescriptor
View Source
var File_cas_v1_status_proto protoreflect.FileDescriptor
View Source
var ResourceService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "cas.v1.ResourceService",
	HandlerType: (*ResourceServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Describe",
			Handler:    _ResourceService_Describe_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "cas/v1/resource.proto",
}

ResourceService_ServiceDesc is the grpc.ServiceDesc for ResourceService 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 StatusService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "cas.v1.StatusService",
	HandlerType: (*StatusServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Infoz",
			Handler:    _StatusService_Infoz_Handler,
		},
		{
			MethodName: "Statusz",
			Handler:    _StatusService_Statusz_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "cas/v1/status.proto",
}

StatusService_ServiceDesc is the grpc.ServiceDesc for StatusService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterResourceServiceServer

func RegisterResourceServiceServer(s grpc.ServiceRegistrar, srv ResourceServiceServer)

func RegisterStatusServiceHTTPServer

func RegisterStatusServiceHTTPServer(s *http.Server, srv StatusServiceHTTPServer)

func RegisterStatusServiceServer

func RegisterStatusServiceServer(s grpc.ServiceRegistrar, srv StatusServiceServer)

Types

type CASResource

type CASResource struct {
	FileName string `protobuf:"bytes,1,opt,name=file_name,json=fileName,proto3" json:"file_name,omitempty"`
	Digest   string `protobuf:"bytes,2,opt,name=digest,proto3" json:"digest,omitempty"`
	// size in bytes
	Size int64 `protobuf:"varint,3,opt,name=size,proto3" json:"size,omitempty"`
	// contains filtered or unexported fields
}

func (*CASResource) Descriptor deprecated

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

Deprecated: Use CASResource.ProtoReflect.Descriptor instead.

func (*CASResource) GetDigest

func (x *CASResource) GetDigest() string

func (*CASResource) GetFileName

func (x *CASResource) GetFileName() string

func (*CASResource) GetSize

func (x *CASResource) GetSize() int64

func (*CASResource) ProtoMessage

func (*CASResource) ProtoMessage()

func (*CASResource) ProtoReflect

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

func (*CASResource) Reset

func (x *CASResource) Reset()

func (*CASResource) String

func (x *CASResource) String() string

type InfozRequest

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

func (*InfozRequest) Descriptor deprecated

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

Deprecated: Use InfozRequest.ProtoReflect.Descriptor instead.

func (*InfozRequest) ProtoMessage

func (*InfozRequest) ProtoMessage()

func (*InfozRequest) ProtoReflect

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

func (*InfozRequest) Reset

func (x *InfozRequest) Reset()

func (*InfozRequest) String

func (x *InfozRequest) String() string

type InfozResponse

type InfozResponse struct {
	Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
	// Version of the helm chart used during deployment
	ChartVersion string   `protobuf:"bytes,3,opt,name=chart_version,json=chartVersion,proto3" json:"chart_version,omitempty"`
	Backends     []string `protobuf:"bytes,2,rep,name=backends,proto3" json:"backends,omitempty"`
	// contains filtered or unexported fields
}

func (*InfozResponse) Descriptor deprecated

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

Deprecated: Use InfozResponse.ProtoReflect.Descriptor instead.

func (*InfozResponse) GetBackends added in v0.19.0

func (x *InfozResponse) GetBackends() []string

func (*InfozResponse) GetChartVersion added in v0.96.15

func (x *InfozResponse) GetChartVersion() string

func (*InfozResponse) GetVersion

func (x *InfozResponse) GetVersion() string

func (*InfozResponse) ProtoMessage

func (*InfozResponse) ProtoMessage()

func (*InfozResponse) ProtoReflect

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

func (*InfozResponse) Reset

func (x *InfozResponse) Reset()

func (*InfozResponse) String

func (x *InfozResponse) String() string

type ResourceServiceClient

type ResourceServiceClient interface {
	Describe(ctx context.Context, in *ResourceServiceDescribeRequest, opts ...grpc.CallOption) (*ResourceServiceDescribeResponse, error)
}

ResourceServiceClient is the client API for ResourceService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type ResourceServiceDescribeRequest

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

func (*ResourceServiceDescribeRequest) Descriptor deprecated

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

Deprecated: Use ResourceServiceDescribeRequest.ProtoReflect.Descriptor instead.

func (*ResourceServiceDescribeRequest) GetDigest

func (x *ResourceServiceDescribeRequest) GetDigest() string

func (*ResourceServiceDescribeRequest) ProtoMessage

func (*ResourceServiceDescribeRequest) ProtoMessage()

func (*ResourceServiceDescribeRequest) ProtoReflect

func (*ResourceServiceDescribeRequest) Reset

func (x *ResourceServiceDescribeRequest) Reset()

func (*ResourceServiceDescribeRequest) String

type ResourceServiceDescribeResponse

type ResourceServiceDescribeResponse struct {
	Result *CASResource `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"`
	// contains filtered or unexported fields
}

func (*ResourceServiceDescribeResponse) Descriptor deprecated

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

Deprecated: Use ResourceServiceDescribeResponse.ProtoReflect.Descriptor instead.

func (*ResourceServiceDescribeResponse) GetResult

func (*ResourceServiceDescribeResponse) ProtoMessage

func (*ResourceServiceDescribeResponse) ProtoMessage()

func (*ResourceServiceDescribeResponse) ProtoReflect

func (*ResourceServiceDescribeResponse) Reset

func (*ResourceServiceDescribeResponse) String

type ResourceServiceServer

type ResourceServiceServer interface {
	Describe(context.Context, *ResourceServiceDescribeRequest) (*ResourceServiceDescribeResponse, error)
	// contains filtered or unexported methods
}

ResourceServiceServer is the server API for ResourceService service. All implementations must embed UnimplementedResourceServiceServer for forward compatibility

type StatusServiceClient

type StatusServiceClient interface {
	Infoz(ctx context.Context, in *InfozRequest, opts ...grpc.CallOption) (*InfozResponse, error)
	Statusz(ctx context.Context, in *StatuszRequest, opts ...grpc.CallOption) (*StatuszResponse, error)
}

StatusServiceClient is the client API for StatusService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type StatusServiceHTTPClient

type StatusServiceHTTPClient interface {
	Infoz(ctx context.Context, req *InfozRequest, opts ...http.CallOption) (rsp *InfozResponse, err error)
	Statusz(ctx context.Context, req *StatuszRequest, opts ...http.CallOption) (rsp *StatuszResponse, err error)
}

func NewStatusServiceHTTPClient

func NewStatusServiceHTTPClient(client *http.Client) StatusServiceHTTPClient

type StatusServiceHTTPClientImpl

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

func (*StatusServiceHTTPClientImpl) Infoz

func (*StatusServiceHTTPClientImpl) Statusz

type StatusServiceHTTPServer

type StatusServiceHTTPServer interface {
	Infoz(context.Context, *InfozRequest) (*InfozResponse, error)
	Statusz(context.Context, *StatuszRequest) (*StatuszResponse, error)
}

type StatusServiceServer

type StatusServiceServer interface {
	Infoz(context.Context, *InfozRequest) (*InfozResponse, error)
	Statusz(context.Context, *StatuszRequest) (*StatuszResponse, error)
	// contains filtered or unexported methods
}

StatusServiceServer is the server API for StatusService service. All implementations must embed UnimplementedStatusServiceServer for forward compatibility

type StatuszRequest

type StatuszRequest struct {

	// Parameter that can be used by readiness probes
	// The main difference is that readiness probes will take into account that all
	// dependent services are up and ready
	Readiness bool `protobuf:"varint,1,opt,name=readiness,proto3" json:"readiness,omitempty"`
	// contains filtered or unexported fields
}

func (*StatuszRequest) Descriptor deprecated

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

Deprecated: Use StatuszRequest.ProtoReflect.Descriptor instead.

func (*StatuszRequest) GetReadiness

func (x *StatuszRequest) GetReadiness() bool

func (*StatuszRequest) ProtoMessage

func (*StatuszRequest) ProtoMessage()

func (*StatuszRequest) ProtoReflect

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

func (*StatuszRequest) Reset

func (x *StatuszRequest) Reset()

func (*StatuszRequest) String

func (x *StatuszRequest) String() string

type StatuszResponse

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

func (*StatuszResponse) Descriptor deprecated

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

Deprecated: Use StatuszResponse.ProtoReflect.Descriptor instead.

func (*StatuszResponse) ProtoMessage

func (*StatuszResponse) ProtoMessage()

func (*StatuszResponse) ProtoReflect

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

func (*StatuszResponse) Reset

func (x *StatuszResponse) Reset()

func (*StatuszResponse) String

func (x *StatuszResponse) String() string

type UnimplementedResourceServiceServer

type UnimplementedResourceServiceServer struct {
}

UnimplementedResourceServiceServer must be embedded to have forward compatible implementations.

type UnimplementedStatusServiceServer

type UnimplementedStatusServiceServer struct {
}

UnimplementedStatusServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedStatusServiceServer) Infoz

func (UnimplementedStatusServiceServer) Statusz

type UnsafeResourceServiceServer

type UnsafeResourceServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeResourceServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ResourceServiceServer will result in compilation errors.

type UnsafeStatusServiceServer

type UnsafeStatusServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeStatusServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to StatusServiceServer will result in compilation errors.

Jump to

Keyboard shortcuts

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