Documentation ¶
Index ¶
- Constants
- Variables
- func AddAWSManager(ctx context.Context, mgrClient manager.NodeManagerServiceClient, ...) (*manager.Ids, error)
- func AddAzureManager(ctx context.Context, mgrClient manager.NodeManagerServiceClient, ...) (*manager.Ids, error)
- func CheckForCreds(credsType string) bool
- func Contains(a []string, x string) bool
- func DeleteAllManagersByType(ctx context.Context, mgrClient manager.NodeManagerServiceClient, ...) error
- func DeleteAllNodes(ctx context.Context, nodesClient nodes.NodesServiceClient) error
- func GetComplianceConn() (*grpc.ClientConn, error)
- func GetManagerConn() (*grpc.ClientConn, error)
- func GetSecretsConn() (*grpc.ClientConn, error)
Constants ¶
View Source
const ( SSMNodeName = "vj-test-ssm-linux" ComplianceEndpoint = "127.0.0.1:10121" ManagerEndpoint = "127.0.0.1:10120" SecretsEndpoint = "127.0.0.1:10131" )
Variables ¶
View Source
var AWSRegionsList = []string{
"ap-northeast-1",
"ap-northeast-2",
"ap-northeast-3",
"ap-south-1",
"ap-southeast-1",
"ap-southeast-2",
"ca-central-1",
"eu-central-1",
"eu-north-1",
"eu-west-1",
"eu-west-2",
"eu-west-3",
"sa-east-1",
"us-east-1",
"us-east-2",
"us-west-1",
"us-west-2",
}
Functions ¶
func AddAWSManager ¶
func AddAzureManager ¶
func CheckForCreds ¶
func DeleteAllManagersByType ¶
func DeleteAllNodes ¶
func DeleteAllNodes(ctx context.Context, nodesClient nodes.NodesServiceClient) error
func GetComplianceConn ¶
func GetComplianceConn() (*grpc.ClientConn, error)
func GetManagerConn ¶
func GetManagerConn() (*grpc.ClientConn, error)
func GetSecretsConn ¶
func GetSecretsConn() (*grpc.ClientConn, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.