server

package
v4.0.0-...-faced96 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2024 License: Apache-2.0 Imports: 44 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TicketAnnotation        = "ocs.openshift.io/provider-onboarding-ticket"
	ProviderCertsMountPoint = "/mnt/cert"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type OCSProviderServer

type OCSProviderServer struct {
	pb.UnimplementedOCSProviderServer
	// contains filtered or unexported fields
}

func NewOCSProviderServer

func NewOCSProviderServer(ctx context.Context, namespace string) (*OCSProviderServer, error)

func (*OCSProviderServer) AcknowledgeOnboarding

AcknowledgeOnboarding acknowledge the onboarding is complete

func (*OCSProviderServer) FulfillStorageClaim

FulfillStorageClaim RPC call to create the StorageClaim CR on provider cluster.

func (*OCSProviderServer) GetStorageClaimConfig

GetStorageClaim RPC call to get the ceph resources for the StorageClaim.

func (*OCSProviderServer) GetStorageConfig

GetStorageConfig RPC call to onboard a new OCS consumer cluster.

func (*OCSProviderServer) OffboardConsumer

OffboardConsumer RPC call to delete the StorageConsumer CR

func (*OCSProviderServer) OnboardConsumer

OnboardConsumer RPC call to onboard a new OCS consumer cluster.

func (*OCSProviderServer) ReportStatus

ReportStatus rpc call to check if a consumer can reach to the provider.

func (*OCSProviderServer) RevokeStorageClaim

RevokeStorageClaim RPC call to delete the StorageClaim CR on provider cluster.

func (*OCSProviderServer) Start

func (s *OCSProviderServer) Start(port int, opts []grpc.ServerOption)

Jump to

Keyboard shortcuts

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