interfaces

package
v4.0.0-...-6d2b355 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2025 License: Apache-2.0 Imports: 0 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type StorageClientOnboarding

type StorageClientOnboarding interface {
	// getters for fields are already provided by protobuf messages
	GetOnboardingTicket() string
	GetConsumerName() string
	GetClientOperatorVersion() string

	SetOnboardingTicket(string) StorageClientOnboarding
	SetConsumerName(string) StorageClientOnboarding
	SetClientOperatorVersion(string) StorageClientOnboarding
}

type StorageClientStatus

type StorageClientStatus interface {
	// TODO: it was mistake not using full name of the field and we are just
	// doing indirection for getters, change this interface after ensuring
	// no client is using it
	GetPlatformVersion() string
	GetOperatorVersion() string
	GetClusterID() string
	GetClusterName() string
	GetClientName() string
	GetClientID() string
	GetStorageQuotaUtilizationRatio() float64

	SetPlatformVersion(string) StorageClientStatus
	SetOperatorVersion(string) StorageClientStatus
	SetClusterID(string) StorageClientStatus
	SetClusterName(string) StorageClientStatus
	SetClientName(string) StorageClientStatus
	SetClientID(string) StorageClientStatus
	SetStorageQuotaUtilizationRatio(float64) StorageClientStatus
}

Jump to

Keyboard shortcuts

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