Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client interface { // Update Seed peer configuration. UpdateSeedPeer(context.Context, *managerv1.UpdateSeedPeerRequest) (*managerv1.SeedPeer, error) // Get Scheduler and Scheduler cluster configuration. GetScheduler(context.Context, *managerv1.GetSchedulerRequest) (*managerv1.Scheduler, error) // Update scheduler configuration. UpdateScheduler(context.Context, *managerv1.UpdateSchedulerRequest) (*managerv1.Scheduler, error) // List acitve schedulers configuration. ListSchedulers(context.Context, *managerv1.ListSchedulersRequest) (*managerv1.ListSchedulersResponse, error) // Get object storage configuration. GetObjectStorage(context.Context, *managerv1.GetObjectStorageRequest) (*managerv1.ObjectStorage, error) // List buckets configuration. ListBuckets(context.Context, *managerv1.ListBucketsRequest) (*managerv1.ListBucketsResponse, error) // KeepAlive with manager. KeepAlive(time.Duration, *managerv1.KeepAliveRequest) // Close client connect. Close() error }
Client is the interface for grpc client.
func GetClient ¶ added in v2.0.6
func GetClient(target string, options ...grpc.DialOption) (Client, error)
GetClient returns manager client.
func GetClientByAddr ¶ added in v2.0.6
GetClientByAddr returns manager client with addresses.
Click to show internal directories.
Click to hide internal directories.