Documentation
¶
Overview ¶
Copyright 2019 The OpenShift Authors.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Index ¶
- type OpenStackActuator
- func (a *OpenStackActuator) Create(ctx context.Context, cr *minterv1.CredentialsRequest) error
- func (a *OpenStackActuator) Delete(ctx context.Context, cr *minterv1.CredentialsRequest) error
- func (a *OpenStackActuator) Exists(ctx context.Context, cr *minterv1.CredentialsRequest) (bool, error)
- func (a *OpenStackActuator) Update(ctx context.Context, cr *minterv1.CredentialsRequest) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OpenStackActuator ¶
type OpenStackActuator struct {
Client client.Client
Codec *minterv1.ProviderCodec
}
func NewOpenStackActuator ¶
func NewOpenStackActuator(client client.Client) (*OpenStackActuator, error)
NewOpenStackActuator creates a new OpenStack actuator.
func (*OpenStackActuator) Create ¶
func (a *OpenStackActuator) Create(ctx context.Context, cr *minterv1.CredentialsRequest) error
Create the credentials.
func (*OpenStackActuator) Delete ¶
func (a *OpenStackActuator) Delete(ctx context.Context, cr *minterv1.CredentialsRequest) error
Delete credentials
func (*OpenStackActuator) Exists ¶
func (a *OpenStackActuator) Exists(ctx context.Context, cr *minterv1.CredentialsRequest) (bool, error)
Exists checks if the credentials currently exist.
func (*OpenStackActuator) Update ¶
func (a *OpenStackActuator) Update(ctx context.Context, cr *minterv1.CredentialsRequest) error
Update the credentials to the provided definition.