Documentation
¶
Index ¶
- type APIResourceClient
- func (c *APIResourceClient) Create(ctx context.Context, apiResource *APIResourceCreateModel) (*APIResourceInfoResponseModel, error)
- func (c *APIResourceClient) Get(ctx context.Context, id string) (*APIResourceInfoResponseModel, error)
- func (c *APIResourceClient) GetByIdentifier(ctx context.Context, identifier string) (*APIResourceListItemModel, error)
- func (c *APIResourceClient) GetByName(ctx context.Context, name string) (*[]APIResourceListItemModel, error)
- func (c *APIResourceClient) List(ctx context.Context, params *APIResourceListParamsModel) (*APIResourceListResponseModel, error)
- type APIResourceCreateModel
- type APIResourceInfoResponseModel
- type APIResourceListItemModel
- type APIResourceListParamsModel
- type APIResourceListResponseModel
- type ScopeCreateModel
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIResourceClient ¶ added in v0.0.4
type APIResourceClient struct {
// contains filtered or unexported fields
}
APIResourceClient is a wrapper around the generated client for the API Resource Management API.
func New ¶ added in v0.0.4
func New(cfg *config.ClientConfig) (*APIResourceClient, error)
Creates a new API Resource Management API client.
func (*APIResourceClient) Create ¶ added in v0.0.4
func (c *APIResourceClient) Create(ctx context.Context, apiResource *APIResourceCreateModel) (*APIResourceInfoResponseModel, error)
func (*APIResourceClient) Get ¶ added in v0.0.4
func (c *APIResourceClient) Get(ctx context.Context, id string) (*APIResourceInfoResponseModel, error)
func (*APIResourceClient) GetByIdentifier ¶ added in v0.0.4
func (c *APIResourceClient) GetByIdentifier(ctx context.Context, identifier string) (*APIResourceListItemModel, error)
func (*APIResourceClient) GetByName ¶ added in v0.0.4
func (c *APIResourceClient) GetByName(ctx context.Context, name string) (*[]APIResourceListItemModel, error)
func (*APIResourceClient) List ¶ added in v0.0.4
func (c *APIResourceClient) List(ctx context.Context, params *APIResourceListParamsModel) (*APIResourceListResponseModel, error)
type APIResourceCreateModel ¶ added in v0.0.6
type APIResourceCreateModel = internal.AddAPIResourceJSONRequestBody
type APIResourceInfoResponseModel ¶ added in v0.0.6
type APIResourceInfoResponseModel = internal.APIResourceResponse
type APIResourceListItemModel ¶ added in v0.0.6
type APIResourceListItemModel = internal.APIResourceListItem
type APIResourceListParamsModel ¶ added in v0.0.6
type APIResourceListParamsModel = internal.GetAPIResourcesParams
type APIResourceListResponseModel ¶ added in v0.0.6
type APIResourceListResponseModel = internal.APIResourceListResponse
type ScopeCreateModel ¶ added in v0.0.6
type ScopeCreateModel = internal.ScopeCreationModel
Click to show internal directories.
Click to hide internal directories.