Help us shape the future of Go! Take the 2026 Go Developer Survey

server

package
v0.4.13 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2023 License: Apache-2.0 Imports: 39 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) FulfillStorageClassClaim added in v0.4.11

FulfillStorageClassClaim RPC call to create the StorageclassClaim CR on provider cluster.

func (*OCSProviderServer) GetStorageClassClaimConfig added in v0.4.11

GetStorageClassClaim RPC call to get the ceph resources for the StorageclassClaim.

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 added in v0.4.11

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

func (*OCSProviderServer) RevokeStorageClassClaim added in v0.4.11

RevokeStorageClassClaim RPC call to delete the StorageclassClaim CR on provider cluster.

func (*OCSProviderServer) Start

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

func (*OCSProviderServer) UpdateCapacity

UpdateCapacity PRC call to increase or decrease the storage pool size

Jump to

Keyboard shortcuts

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