Documentation ¶
Index ¶
Constants ¶
View Source
const (
// EnvArgoCDServer is the environment variable to look for an ArgoCD server address
EnvArgoCDServer = "ARGOCD_SERVER"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClientOptions ¶
type ServerClient ¶
type ServerClient interface { NewConn() (*grpc.ClientConn, error) NewRepoClient() (*grpc.ClientConn, repository.RepositoryServiceClient, error) NewRepoClientOrDie() (*grpc.ClientConn, repository.RepositoryServiceClient) NewClusterClient() (*grpc.ClientConn, cluster.ClusterServiceClient, error) NewClusterClientOrDie() (*grpc.ClientConn, cluster.ClusterServiceClient) NewApplicationClient() (*grpc.ClientConn, application.ApplicationServiceClient, error) NewApplicationClientOrDie() (*grpc.ClientConn, application.ApplicationServiceClient) }
func NewClient ¶
func NewClient(opts *ClientOptions) (ServerClient, error)
func NewClientOrDie ¶
func NewClientOrDie(opts *ClientOptions) ServerClient
Click to show internal directories.
Click to hide internal directories.