apigee

package
v1.15.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 20, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

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.

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.

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.

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.

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

Constants

This section is empty.

Variables

This section is empty.

Functions

func ApplyEnvironment

func ApplyEnvironment(ctx context.Context, config *dcl.Config, u *unstructured.Resource, opts ...dcl.ApplyOption) (*unstructured.Resource, error)

func ApplyEnvironmentGroup added in v1.4.0

func ApplyEnvironmentGroup(ctx context.Context, config *dcl.Config, u *unstructured.Resource, opts ...dcl.ApplyOption) (*unstructured.Resource, error)

func ApplyEnvironmentGroupAttachment added in v1.4.0

func ApplyEnvironmentGroupAttachment(ctx context.Context, config *dcl.Config, u *unstructured.Resource, opts ...dcl.ApplyOption) (*unstructured.Resource, error)

func ApplyInstance

func ApplyInstance(ctx context.Context, config *dcl.Config, u *unstructured.Resource, opts ...dcl.ApplyOption) (*unstructured.Resource, error)

func ApplyOrganization

func ApplyOrganization(ctx context.Context, config *dcl.Config, u *unstructured.Resource, opts ...dcl.ApplyOption) (*unstructured.Resource, error)

func DeleteEnvironment

func DeleteEnvironment(ctx context.Context, config *dcl.Config, u *unstructured.Resource) error

func DeleteEnvironmentGroup added in v1.4.0

func DeleteEnvironmentGroup(ctx context.Context, config *dcl.Config, u *unstructured.Resource) error

func DeleteEnvironmentGroupAttachment added in v1.4.0

func DeleteEnvironmentGroupAttachment(ctx context.Context, config *dcl.Config, u *unstructured.Resource) error

func DeleteInstance

func DeleteInstance(ctx context.Context, config *dcl.Config, u *unstructured.Resource) error

func DeleteOrganization

func DeleteOrganization(ctx context.Context, config *dcl.Config, u *unstructured.Resource) error

func DeletePolicyMemberEnvironment added in v1.1.0

func DeletePolicyMemberEnvironment(ctx context.Context, config *dcl.Config, u *unstructured.Resource, m *unstructured.Resource) error

func EnvironmentGroupAttachmentHasDiff added in v1.4.0

func EnvironmentGroupAttachmentHasDiff(ctx context.Context, config *dcl.Config, u *unstructured.Resource, opts ...dcl.ApplyOption) (bool, error)

func EnvironmentGroupAttachmentID added in v1.4.0

func EnvironmentGroupAttachmentID(u *unstructured.Resource) (string, error)

func EnvironmentGroupAttachmentToUnstructured added in v1.4.0

func EnvironmentGroupAttachmentToUnstructured(r *dclService.EnvironmentGroupAttachment) *unstructured.Resource

func EnvironmentGroupHasDiff added in v1.4.0

func EnvironmentGroupHasDiff(ctx context.Context, config *dcl.Config, u *unstructured.Resource, opts ...dcl.ApplyOption) (bool, error)

func EnvironmentGroupID added in v1.4.0

func EnvironmentGroupID(u *unstructured.Resource) (string, error)

func EnvironmentGroupToUnstructured added in v1.4.0

func EnvironmentGroupToUnstructured(r *dclService.EnvironmentGroup) *unstructured.Resource

func EnvironmentHasDiff

func EnvironmentHasDiff(ctx context.Context, config *dcl.Config, u *unstructured.Resource, opts ...dcl.ApplyOption) (bool, error)

func EnvironmentID

func EnvironmentID(u *unstructured.Resource) (string, error)

func EnvironmentToUnstructured

func EnvironmentToUnstructured(r *dclService.Environment) *unstructured.Resource

func GetEnvironment

func GetEnvironment(ctx context.Context, config *dcl.Config, u *unstructured.Resource) (*unstructured.Resource, error)

func GetEnvironmentGroup added in v1.4.0

func GetEnvironmentGroup(ctx context.Context, config *dcl.Config, u *unstructured.Resource) (*unstructured.Resource, error)

func GetEnvironmentGroupAttachment added in v1.4.0

func GetEnvironmentGroupAttachment(ctx context.Context, config *dcl.Config, u *unstructured.Resource) (*unstructured.Resource, error)

func GetInstance

func GetInstance(ctx context.Context, config *dcl.Config, u *unstructured.Resource) (*unstructured.Resource, error)

func GetOrganization

func GetOrganization(ctx context.Context, config *dcl.Config, u *unstructured.Resource) (*unstructured.Resource, error)

func GetPolicyEnvironment

func GetPolicyEnvironment(ctx context.Context, config *dcl.Config, u *unstructured.Resource) (*unstructured.Resource, error)

func GetPolicyMemberEnvironment

func GetPolicyMemberEnvironment(ctx context.Context, config *dcl.Config, u *unstructured.Resource, role, member string) (*unstructured.Resource, error)

func InstanceHasDiff

func InstanceHasDiff(ctx context.Context, config *dcl.Config, u *unstructured.Resource, opts ...dcl.ApplyOption) (bool, error)

func InstanceID

func InstanceID(u *unstructured.Resource) (string, error)

func InstanceToUnstructured

func InstanceToUnstructured(r *dclService.Instance) *unstructured.Resource

func ListEnvironment

func ListEnvironment(ctx context.Context, config *dcl.Config, apigeeorganization string) ([]*unstructured.Resource, error)

func ListEnvironmentGroup added in v1.4.0

func ListEnvironmentGroup(ctx context.Context, config *dcl.Config, apigeeorganization string) ([]*unstructured.Resource, error)

func ListEnvironmentGroupAttachment added in v1.4.0

func ListEnvironmentGroupAttachment(ctx context.Context, config *dcl.Config, envgroup string) ([]*unstructured.Resource, error)

func ListInstance

func ListInstance(ctx context.Context, config *dcl.Config, apigeeorganization string) ([]*unstructured.Resource, error)

func ListOrganization

func ListOrganization(ctx context.Context, config *dcl.Config) ([]*unstructured.Resource, error)

func OrganizationHasDiff

func OrganizationHasDiff(ctx context.Context, config *dcl.Config, u *unstructured.Resource, opts ...dcl.ApplyOption) (bool, error)

func OrganizationID

func OrganizationID(u *unstructured.Resource) (string, error)

func OrganizationToUnstructured

func OrganizationToUnstructured(r *dclService.Organization) *unstructured.Resource

func SetPolicyWithEtagEnvironment added in v1.1.0

func SetPolicyWithEtagEnvironment(ctx context.Context, config *dcl.Config, u *unstructured.Resource, p *unstructured.Resource) (*unstructured.Resource, error)

func UnstructuredToEnvironment

func UnstructuredToEnvironment(u *unstructured.Resource) (*dclService.Environment, error)

func UnstructuredToEnvironmentGroup added in v1.4.0

func UnstructuredToEnvironmentGroup(u *unstructured.Resource) (*dclService.EnvironmentGroup, error)

func UnstructuredToEnvironmentGroupAttachment added in v1.4.0

func UnstructuredToEnvironmentGroupAttachment(u *unstructured.Resource) (*dclService.EnvironmentGroupAttachment, error)

func UnstructuredToInstance

func UnstructuredToInstance(u *unstructured.Resource) (*dclService.Instance, error)

func UnstructuredToOrganization

func UnstructuredToOrganization(u *unstructured.Resource) (*dclService.Organization, error)

Types

type Environment

type Environment struct{}

func (*Environment) Apply

func (r *Environment) Apply(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, opts ...dcl.ApplyOption) (*unstructured.Resource, error)

func (*Environment) Delete

func (r *Environment) Delete(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) error

func (*Environment) DeletePolicyMember added in v1.1.0

func (r *Environment) DeletePolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, member *unstructured.Resource) error

func (*Environment) Get

func (r *Environment) Get(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)

func (*Environment) GetPolicy

func (r *Environment) GetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)

func (*Environment) GetPolicyMember

func (r *Environment) GetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, role, member string) (*unstructured.Resource, error)

func (*Environment) HasDiff

func (r *Environment) HasDiff(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, opts ...dcl.ApplyOption) (bool, error)

func (*Environment) ID

func (r *Environment) ID(resource *unstructured.Resource) (string, error)

func (*Environment) STV

func (*Environment) SetPolicy

func (r *Environment) SetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, policy *unstructured.Resource) (*unstructured.Resource, error)

func (*Environment) SetPolicyMember

func (r *Environment) SetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, member *unstructured.Resource) (*unstructured.Resource, error)

func (*Environment) SetPolicyWithEtag added in v1.1.0

func (r *Environment) SetPolicyWithEtag(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, policy *unstructured.Resource) (*unstructured.Resource, error)

type EnvironmentGroup added in v1.4.0

type EnvironmentGroup struct{}

func (*EnvironmentGroup) Apply added in v1.4.0

func (r *EnvironmentGroup) Apply(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, opts ...dcl.ApplyOption) (*unstructured.Resource, error)

func (*EnvironmentGroup) Delete added in v1.4.0

func (r *EnvironmentGroup) Delete(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) error

func (*EnvironmentGroup) DeletePolicyMember added in v1.4.0

func (r *EnvironmentGroup) DeletePolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, member *unstructured.Resource) error

func (*EnvironmentGroup) Get added in v1.4.0

func (*EnvironmentGroup) GetPolicy added in v1.4.0

func (r *EnvironmentGroup) GetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)

func (*EnvironmentGroup) GetPolicyMember added in v1.4.0

func (r *EnvironmentGroup) GetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, role, member string) (*unstructured.Resource, error)

func (*EnvironmentGroup) HasDiff added in v1.4.0

func (r *EnvironmentGroup) HasDiff(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, opts ...dcl.ApplyOption) (bool, error)

func (*EnvironmentGroup) ID added in v1.4.0

func (r *EnvironmentGroup) ID(resource *unstructured.Resource) (string, error)

func (*EnvironmentGroup) STV added in v1.4.0

func (*EnvironmentGroup) SetPolicy added in v1.4.0

func (r *EnvironmentGroup) SetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, policy *unstructured.Resource) (*unstructured.Resource, error)

func (*EnvironmentGroup) SetPolicyMember added in v1.4.0

func (r *EnvironmentGroup) SetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, member *unstructured.Resource) (*unstructured.Resource, error)

func (*EnvironmentGroup) SetPolicyWithEtag added in v1.4.0

func (r *EnvironmentGroup) SetPolicyWithEtag(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, policy *unstructured.Resource) (*unstructured.Resource, error)

type EnvironmentGroupAttachment added in v1.4.0

type EnvironmentGroupAttachment struct{}

func (*EnvironmentGroupAttachment) Apply added in v1.4.0

func (*EnvironmentGroupAttachment) Delete added in v1.4.0

func (r *EnvironmentGroupAttachment) Delete(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) error

func (*EnvironmentGroupAttachment) DeletePolicyMember added in v1.4.0

func (r *EnvironmentGroupAttachment) DeletePolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, member *unstructured.Resource) error

func (*EnvironmentGroupAttachment) Get added in v1.4.0

func (*EnvironmentGroupAttachment) GetPolicy added in v1.4.0

func (*EnvironmentGroupAttachment) GetPolicyMember added in v1.4.0

func (r *EnvironmentGroupAttachment) GetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, role, member string) (*unstructured.Resource, error)

func (*EnvironmentGroupAttachment) HasDiff added in v1.4.0

func (r *EnvironmentGroupAttachment) HasDiff(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, opts ...dcl.ApplyOption) (bool, error)

func (*EnvironmentGroupAttachment) ID added in v1.4.0

func (*EnvironmentGroupAttachment) STV added in v1.4.0

func (*EnvironmentGroupAttachment) SetPolicy added in v1.4.0

func (*EnvironmentGroupAttachment) SetPolicyMember added in v1.4.0

func (r *EnvironmentGroupAttachment) SetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, member *unstructured.Resource) (*unstructured.Resource, error)

func (*EnvironmentGroupAttachment) SetPolicyWithEtag added in v1.4.0

func (r *EnvironmentGroupAttachment) SetPolicyWithEtag(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, policy *unstructured.Resource) (*unstructured.Resource, error)

type Instance

type Instance struct{}

func (*Instance) Apply

func (r *Instance) Apply(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, opts ...dcl.ApplyOption) (*unstructured.Resource, error)

func (*Instance) Delete

func (r *Instance) Delete(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) error

func (*Instance) DeletePolicyMember added in v1.1.0

func (r *Instance) DeletePolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, member *unstructured.Resource) error

func (*Instance) Get

func (r *Instance) Get(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)

func (*Instance) GetPolicy

func (r *Instance) GetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)

func (*Instance) GetPolicyMember

func (r *Instance) GetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, role, member string) (*unstructured.Resource, error)

func (*Instance) HasDiff

func (r *Instance) HasDiff(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, opts ...dcl.ApplyOption) (bool, error)

func (*Instance) ID

func (r *Instance) ID(resource *unstructured.Resource) (string, error)

func (*Instance) STV

func (*Instance) SetPolicy

func (r *Instance) SetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, policy *unstructured.Resource) (*unstructured.Resource, error)

func (*Instance) SetPolicyMember

func (r *Instance) SetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, member *unstructured.Resource) (*unstructured.Resource, error)

func (*Instance) SetPolicyWithEtag added in v1.1.0

func (r *Instance) SetPolicyWithEtag(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, policy *unstructured.Resource) (*unstructured.Resource, error)

type Organization

type Organization struct{}

func (*Organization) Apply

func (r *Organization) Apply(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, opts ...dcl.ApplyOption) (*unstructured.Resource, error)

func (*Organization) Delete

func (r *Organization) Delete(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) error

func (*Organization) DeletePolicyMember added in v1.1.0

func (r *Organization) DeletePolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, member *unstructured.Resource) error

func (*Organization) Get

func (r *Organization) Get(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)

func (*Organization) GetPolicy

func (r *Organization) GetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)

func (*Organization) GetPolicyMember

func (r *Organization) GetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, role, member string) (*unstructured.Resource, error)

func (*Organization) HasDiff

func (r *Organization) HasDiff(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, opts ...dcl.ApplyOption) (bool, error)

func (*Organization) ID

func (r *Organization) ID(resource *unstructured.Resource) (string, error)

func (*Organization) STV

func (*Organization) SetPolicy

func (r *Organization) SetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, policy *unstructured.Resource) (*unstructured.Resource, error)

func (*Organization) SetPolicyMember

func (r *Organization) SetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, member *unstructured.Resource) (*unstructured.Resource, error)

func (*Organization) SetPolicyWithEtag added in v1.1.0

func (r *Organization) SetPolicyWithEtag(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, policy *unstructured.Resource) (*unstructured.Resource, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL