Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Provider ¶
func Provider() terraform.ResourceProvider
Types ¶
type ClientWrap ¶
type ClientWrap struct { *stackrox.APIClient HTTPClient *http.Client // contains filtered or unexported fields }
ClientWrap holds the API Client and a context initialized with the Bearer token for accessing the API.
func NewClientWrap ¶
func NewClientWrap(endpoint, username, password string) ClientWrap
func (ClientWrap) BasicAuthContext ¶
func (c ClientWrap) BasicAuthContext() context.Context
func (ClientWrap) FindGroups ¶
func (c ClientWrap) FindGroups(ctx context.Context, authProviderId string) ([]stackrox.StorageGroup, *http.Response, error)
FindGroups is a local extension of the generated API, and it provides missing functionality that returns a slice of authentication groups filtered by the given authentication provider ID.
Click to show internal directories.
Click to hide internal directories.