package
0.11.0-beta.3
Repository: https://github.com/rubrikinc/rubrik-polaris-sdk-for-go.git
Documentation: pkg.go.dev

# Packages

Package access provides a high level interface to the users, groups and roles management part of the RSC platform.
No description provided by the author
Package aws provides a high level interface to the AWS part of the RSC platform.
Package azure provides a high-level interface to the Azure part of the RSC platform.
Package gcp provides a high level interface to the GCP part of the RSC platform.
Package graphql provides direct access to the RSC GraphQL API.
Package log contains the Logger interface used by the Polaris SDK.
Package token contains functions to request a token from the RSC platform.

# Functions

DefaultServiceAccount returns a new ServiceAccount read from the RSC service account file at the default service account location.
DefaultUserAccount returns a new UserAccount read from the default account file.
FindAccount looks for a valid Account using the passed in credentials string with the following algorithm: When credentials string contains a value: 1.
NewClient returns a new Client for the specified Account.
NewClientWithCacheParams returns a new Client for the specified Account.
NewClientWithLogger returns a new Client for the specified Account.
NewClientWithLoggerAndCacheParams returns a new Client for the specified Account.
ServiceAccountFromEnv returns a new ServiceAccount from the current environment.
ServiceAccountFromFile returns a new ServiceAccount read from the specified RSC service account file.
ServiceAccountFromText returns a new ServiceAccount read from the specified text containing an RSC service account.
SetLogLevelFromEnv sets the log level of the logger to the log level specified in the RUBRIK_POLARIS_LOGLEVEL environment variable.
UserAccountFromEnv returns a new UserAccount from the current environment.
UserAccountFromFile returns a new UserAccount read from the specified file.

# Constants

DefaultLocalUserFile path to the default local users file.
DefaultServiceAccountFile path to the default service account file.

# Variables

ErrAccountNotFound signals that the account could not be found.

# Structs

CacheParams is used to configure the token cache.
Client is used to make calls to the RSC platform.
ServiceAccount holds an RSC ServiceAccount configuration.
UserAccount holds an RSC local user account configuration.

# Interfaces

Account represents a Polaris account.