iap

package
v1.77.0 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Copyright 2024 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 2024 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 ApplyBrand

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

func ApplyIdentityAwareProxyClient

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

func BrandHasDiff

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

func BrandID

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

func BrandToUnstructured

func BrandToUnstructured(r *dclService.Brand) *unstructured.Resource

func DeleteBrand

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

func DeleteIdentityAwareProxyClient

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

func GetBrand

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

func GetIdentityAwareProxyClient

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

func IdentityAwareProxyClientHasDiff

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

func IdentityAwareProxyClientID

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

func ListBrand

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

func ListIdentityAwareProxyClient

func ListIdentityAwareProxyClient(ctx context.Context, config *dcl.Config, project string, brand string) ([]*unstructured.Resource, error)

func UnstructuredToBrand

func UnstructuredToBrand(u *unstructured.Resource) (*dclService.Brand, error)

Types

type Brand

type Brand struct{}

func (*Brand) Apply

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

func (*Brand) Delete

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

func (*Brand) DeletePolicyMember added in v1.1.0

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

func (*Brand) Get

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

func (*Brand) GetPolicy

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

func (*Brand) GetPolicyMember

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

func (*Brand) HasDiff

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

func (*Brand) ID

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

func (*Brand) STV

func (*Brand) SetPolicy

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

func (*Brand) SetPolicyMember

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

func (*Brand) SetPolicyWithEtag added in v1.1.0

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

type IdentityAwareProxyClient

type IdentityAwareProxyClient struct{}

func (*IdentityAwareProxyClient) Apply

func (*IdentityAwareProxyClient) Delete

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

func (*IdentityAwareProxyClient) DeletePolicyMember added in v1.1.0

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

func (*IdentityAwareProxyClient) Get

func (*IdentityAwareProxyClient) GetPolicy

func (*IdentityAwareProxyClient) GetPolicyMember

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

func (*IdentityAwareProxyClient) HasDiff

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

func (*IdentityAwareProxyClient) ID

func (*IdentityAwareProxyClient) STV

func (*IdentityAwareProxyClient) SetPolicy

func (*IdentityAwareProxyClient) SetPolicyMember

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

func (*IdentityAwareProxyClient) SetPolicyWithEtag added in v1.1.0

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

Jump to

Keyboard shortcuts

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