Documentation ¶
Index ¶
- type APIManager
- type Manager
- func (m *Manager) CreateAPI(ctx context.Context, resourceGroupName string, apiServiceName string, ...) (apimanagement.APIContract, error)
- func (m *Manager) Delete(ctx context.Context, obj runtime.Object, opts ...resourcemanager.ConfigOption) (bool, error)
- func (m *Manager) DeleteAPI(ctx context.Context, resourceGroupName string, apiServiceName string, ...) (autorest.Response, error)
- func (m *Manager) Ensure(ctx context.Context, obj runtime.Object, opts ...resourcemanager.ConfigOption) (bool, error)
- func (m *Manager) GetAPI(ctx context.Context, resourceGroupName string, apiServiceName string, ...) (apimanagement.APIContract, error)
- func (m *Manager) GetParents(obj runtime.Object) ([]resourcemanager.KubeParent, error)
- func (m *Manager) GetStatus(obj runtime.Object) (*v1alpha1.ASOStatus, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIManager ¶
type APIManager interface { CreateAPI(ctx context.Context, resourceGroupName string, apiServiceName string, apiID string, properties azurev1alpha1.APIProperties, eTag string) (apimanagement.APIContract, error) DeleteAPI(ctx context.Context, resourceGroupName string, apiServiceName string, apiID string, eTag string, deleteRevisions bool) (autorest.Response, error) GetAPI(ctx context.Context, resourceGroupName string, apiServiceName string, apiID string) (apimanagement.APIContract, error) resourcemanager.ARMClient }
APIManager is an interface for API Management
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
Manager represents an API Management type
func NewManager ¶
func NewManager(creds config.Credentials) *Manager
NewManager returns an API Manager type
func (*Manager) CreateAPI ¶
func (m *Manager) CreateAPI( ctx context.Context, resourceGroupName string, apiServiceName string, apiID string, properties azurev1alpha1.APIProperties, eTag string) (apimanagement.APIContract, error)
CreateAPI creates an API within an API management service
func (*Manager) Delete ¶
func (m *Manager) Delete(ctx context.Context, obj runtime.Object, opts ...resourcemanager.ConfigOption) (bool, error)
Delete removes an API resource
func (*Manager) DeleteAPI ¶
func (m *Manager) DeleteAPI(ctx context.Context, resourceGroupName string, apiServiceName string, apiID string, eTag string, deleteRevisions bool) (autorest.Response, error)
DeleteAPI deletes an API within an API management service
func (*Manager) Ensure ¶
func (m *Manager) Ensure(ctx context.Context, obj runtime.Object, opts ...resourcemanager.ConfigOption) (bool, error)
Ensure executes a desired state check against the resource
func (*Manager) GetAPI ¶
func (m *Manager) GetAPI(ctx context.Context, resourceGroupName string, apiServiceName string, apiID string) (apimanagement.APIContract, error)
GetAPI fetches an API within an API management service
func (*Manager) GetParents ¶
func (m *Manager) GetParents(obj runtime.Object) ([]resourcemanager.KubeParent, error)
GetParents fetches the hierarchical parent resource references
Click to show internal directories.
Click to hide internal directories.