Documentation ¶
Overview ¶
Copyright 2022 Google LLC. All Rights Reserved.
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 ¶
- func ApplyConnector(ctx context.Context, config *dcl.Config, u *unstructured.Resource, ...) (*unstructured.Resource, error)
- func ConnectorHasDiff(ctx context.Context, config *dcl.Config, u *unstructured.Resource, ...) (bool, error)
- func ConnectorID(u *unstructured.Resource) (string, error)
- func ConnectorToUnstructured(r *dclService.Connector) *unstructured.Resource
- func DeleteConnector(ctx context.Context, config *dcl.Config, u *unstructured.Resource) error
- func GetConnector(ctx context.Context, config *dcl.Config, u *unstructured.Resource) (*unstructured.Resource, error)
- func ListConnector(ctx context.Context, config *dcl.Config, project string, location string) ([]*unstructured.Resource, error)
- func UnstructuredToConnector(u *unstructured.Resource) (*dclService.Connector, error)
- type Connector
- func (r *Connector) Apply(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *Connector) Delete(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) error
- func (r *Connector) Get(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
- func (r *Connector) GetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
- func (r *Connector) GetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *Connector) HasDiff(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (bool, error)
- func (r *Connector) ID(resource *unstructured.Resource) (string, error)
- func (r *Connector) STV() unstructured.ServiceTypeVersion
- func (r *Connector) SetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *Connector) SetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ApplyConnector ¶
func ApplyConnector(ctx context.Context, config *dcl.Config, u *unstructured.Resource, opts ...dcl.ApplyOption) (*unstructured.Resource, error)
func ConnectorHasDiff ¶
func ConnectorHasDiff(ctx context.Context, config *dcl.Config, u *unstructured.Resource, opts ...dcl.ApplyOption) (bool, error)
func ConnectorID ¶
func ConnectorID(u *unstructured.Resource) (string, error)
func ConnectorToUnstructured ¶
func ConnectorToUnstructured(r *dclService.Connector) *unstructured.Resource
func DeleteConnector ¶
func GetConnector ¶
func GetConnector(ctx context.Context, config *dcl.Config, u *unstructured.Resource) (*unstructured.Resource, error)
func ListConnector ¶
func UnstructuredToConnector ¶
func UnstructuredToConnector(u *unstructured.Resource) (*dclService.Connector, error)
Types ¶
type Connector ¶
type Connector struct{}
func (*Connector) Apply ¶
func (r *Connector) Apply(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, opts ...dcl.ApplyOption) (*unstructured.Resource, error)
func (*Connector) Get ¶
func (r *Connector) Get(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
func (*Connector) GetPolicy ¶
func (r *Connector) GetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
func (*Connector) GetPolicyMember ¶
func (*Connector) STV ¶
func (r *Connector) STV() unstructured.ServiceTypeVersion
func (*Connector) SetPolicy ¶
func (r *Connector) SetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, policy *unstructured.Resource) (*unstructured.Resource, error)
func (*Connector) SetPolicyMember ¶
func (r *Connector) SetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, member *unstructured.Resource) (*unstructured.Resource, error)
Click to show internal directories.
Click to hide internal directories.