client

package
v1.2.120 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2024 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const (

	// Workaround to allow wssdctl to build for Linux
	// Before we were pulling this value from github.com/moc/pkg/apis/config,
	// and that pkg uses the trace pkg ... which needs to be refactored to build for linux.
	//
	// In the future we may want to decouple wssdagent usage in the sdk ... so its possible that even when that is fixed,
	// this value still lives here.
	KnownServerPort     = 45000
	KnownAuthServerPort = 45001
)

Variables

This section is empty.

Functions

func ClearConnectionCache added in v0.10.21

func ClearConnectionCache()

func CloseClientConnectionByEndpoint added in v0.8.6

func CloseClientConnectionByEndpoint(serverAddress *string) error

CloseClientConnectionByEndpoint allows a caller to close the current clientconn for a particular endpoint

func GetAuthenticationClient

func GetAuthenticationClient(serverAddress *string, authorizer auth.Authorizer) (security_pb.AuthenticationAgentClient, error)

GetAuthenticationClient returns the secret client to communicate with the wssdagent

func GetAvailabilitySetClient added in v0.14.2

func GetAvailabilitySetClient(serverAddress *string, authorizer auth.Authorizer) (compute_pb.AvailabilitySetAgentClient, error)

GetAvailabilitySetClient returns the availability set client to comminicate with the wssd agent

func GetCertificateClient added in v0.5.13

func GetCertificateClient(serverAddress *string, authorizer auth.Authorizer) (security_pb.CertificateAgentClient, error)

GetCertificateClient returns the secret client to communicate with the wssdagent

func GetContainerClient added in v0.5.1

func GetContainerClient(serverAddress *string, authorizer auth.Authorizer) (storage_pb.ContainerAgentClient, error)

GetContainerClient returns the container client to communicate with the wssdagent

func GetDebugClient added in v0.10.13

func GetDebugClient(serverAddress *string, authorizer auth.Authorizer) (admin_pb.DebugAgentClient, error)

GetDebugClient returns the log client to communicate with the wssd agent

func GetHealthClient added in v0.8.6

func GetHealthClient(serverAddress *string, authorizer auth.Authorizer) (admin_pb.HealthAgentClient, error)

GetHealthClient returns the health client to communicate with the node agent

func GetIdentityClient

func GetIdentityClient(serverAddress *string, authorizer auth.Authorizer) (security_pb.IdentityAgentClient, error)

GetIdentityClient returns the secret client to communicate with the wssdagent

func GetKeyVaultClient

func GetKeyVaultClient(serverAddress *string, authorizer auth.Authorizer) (security_pb.KeyVaultAgentClient, error)

GetKeyVaultClient returns the keyvault client to communicate with the wssdagent

func GetLoadBalancerClient

func GetLoadBalancerClient(serverAddress *string, authorizer auth.Authorizer) (network_pb.LoadBalancerAgentClient, error)

GetLoadBalancerClient returns the loadbalancer client to communicate with the wssd agent

func GetLogClient added in v0.8.6

func GetLogClient(serverAddress *string, authorizer auth.Authorizer) (admin_pb.LogAgentClient, error)

GetLogClient returns the log client to communicate with the wssd agent

func GetLogicalNetworkClient added in v0.13.2

func GetLogicalNetworkClient(serverAddress *string, authorizer auth.Authorizer) (network_pb.LogicalNetworkAgentClient, error)

GetLogicalNetworkClient returns the logical network client to communicate with the wssdagent

func GetPlacementGroupClient added in v0.23.4

func GetPlacementGroupClient(serverAddress *string, authorizer auth.Authorizer) (compute_pb.PlacementGroupAgentClient, error)

GetPlacementGroupClient returns the placement group client to communicate with the wssd agent

func GetRecoveryClient added in v0.10.4

func GetRecoveryClient(serverAddress *string, authorizer auth.Authorizer) (admin_pb.RecoveryAgentClient, error)

GetRecoveryClient returns the log client to communicate with the wssd agent

func GetSecretClient

func GetSecretClient(serverAddress *string, authorizer auth.Authorizer) (security_pb.SecretAgentClient, error)

GetSecretClient returns the secret client to communicate with the wssdagent

func GetValidationClient added in v0.10.27

func GetValidationClient(serverAddress *string, authorizer auth.Authorizer) (admin_pb.ValidationAgentClient, error)

GetValidationClient returns the log client to communicate with the wssd agent

func GetVirtualHardDiskClient

func GetVirtualHardDiskClient(serverAddress *string, authorizer auth.Authorizer) (storage_pb.VirtualHardDiskAgentClient, error)

GetVirtualHardDiskClient returns the virtual harddisk client to communicate with the wssdagent

func GetVirtualMachineClient

func GetVirtualMachineClient(serverAddress *string, authorizer auth.Authorizer) (compute_pb.VirtualMachineAgentClient, error)

GetVirtualMachineClient returns the virtual machine client to comminicate with the wssd agent

func GetVirtualMachineScaleSetClient

func GetVirtualMachineScaleSetClient(serverAddress *string, authorizer auth.Authorizer) (compute_pb.VirtualMachineScaleSetAgentClient, error)

GetVirtualMachineScaleSetClient returns the virtual machine client to comminicate with the wssd agent

func GetVirtualNetworkClient

func GetVirtualNetworkClient(serverAddress *string, authorizer auth.Authorizer) (network_pb.VirtualNetworkAgentClient, error)

GetVirtualNetworkClient returns the virtual network client to communicate with the wssdagent

func GetVirtualNetworkInterfaceClient

func GetVirtualNetworkInterfaceClient(serverAddress *string, authorizer auth.Authorizer) (network_pb.VirtualNetworkInterfaceAgentClient, error)

GetVirtualNetworkInterfaceClient returns the virtual network interface client to communicate with the wssd agent

Types

This section is empty.

Jump to

Keyboard shortcuts

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