Documentation ¶
Overview ¶
Copyright 2023 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 2023 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 ApplyBrand(ctx context.Context, config *dcl.Config, u *unstructured.Resource, ...) (*unstructured.Resource, error)
- func ApplyIdentityAwareProxyClient(ctx context.Context, config *dcl.Config, u *unstructured.Resource, ...) (*unstructured.Resource, error)
- func BrandHasDiff(ctx context.Context, config *dcl.Config, u *unstructured.Resource, ...) (bool, error)
- func BrandID(u *unstructured.Resource) (string, error)
- func BrandToUnstructured(r *dclService.Brand) *unstructured.Resource
- func DeleteBrand(ctx context.Context, config *dcl.Config, u *unstructured.Resource) error
- func DeleteIdentityAwareProxyClient(ctx context.Context, config *dcl.Config, u *unstructured.Resource) error
- func GetBrand(ctx context.Context, config *dcl.Config, u *unstructured.Resource) (*unstructured.Resource, error)
- func GetIdentityAwareProxyClient(ctx context.Context, config *dcl.Config, u *unstructured.Resource) (*unstructured.Resource, error)
- func IdentityAwareProxyClientHasDiff(ctx context.Context, config *dcl.Config, u *unstructured.Resource, ...) (bool, error)
- func IdentityAwareProxyClientID(u *unstructured.Resource) (string, error)
- func IdentityAwareProxyClientToUnstructured(r *dclService.IdentityAwareProxyClient) *unstructured.Resource
- func ListBrand(ctx context.Context, config *dcl.Config, project string) ([]*unstructured.Resource, error)
- func ListIdentityAwareProxyClient(ctx context.Context, config *dcl.Config, project string, brand string) ([]*unstructured.Resource, error)
- func UnstructuredToBrand(u *unstructured.Resource) (*dclService.Brand, error)
- func UnstructuredToIdentityAwareProxyClient(u *unstructured.Resource) (*dclService.IdentityAwareProxyClient, error)
- type Brand
- func (r *Brand) Apply(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *Brand) Delete(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) error
- func (r *Brand) DeletePolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) error
- func (r *Brand) Get(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
- func (r *Brand) GetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
- func (r *Brand) GetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *Brand) HasDiff(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (bool, error)
- func (r *Brand) ID(resource *unstructured.Resource) (string, error)
- func (r *Brand) STV() unstructured.ServiceTypeVersion
- func (r *Brand) SetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *Brand) SetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *Brand) SetPolicyWithEtag(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- type IdentityAwareProxyClient
- func (r *IdentityAwareProxyClient) Apply(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *IdentityAwareProxyClient) Delete(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) error
- func (r *IdentityAwareProxyClient) DeletePolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) error
- func (r *IdentityAwareProxyClient) Get(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
- func (r *IdentityAwareProxyClient) GetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
- func (r *IdentityAwareProxyClient) GetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *IdentityAwareProxyClient) HasDiff(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (bool, error)
- func (r *IdentityAwareProxyClient) ID(resource *unstructured.Resource) (string, error)
- func (r *IdentityAwareProxyClient) STV() unstructured.ServiceTypeVersion
- func (r *IdentityAwareProxyClient) SetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *IdentityAwareProxyClient) SetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *IdentityAwareProxyClient) SetPolicyWithEtag(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
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 BrandToUnstructured ¶
func BrandToUnstructured(r *dclService.Brand) *unstructured.Resource
func DeleteBrand ¶
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 IdentityAwareProxyClientToUnstructured ¶
func IdentityAwareProxyClientToUnstructured(r *dclService.IdentityAwareProxyClient) *unstructured.Resource
func UnstructuredToBrand ¶
func UnstructuredToBrand(u *unstructured.Resource) (*dclService.Brand, error)
func UnstructuredToIdentityAwareProxyClient ¶
func UnstructuredToIdentityAwareProxyClient(u *unstructured.Resource) (*dclService.IdentityAwareProxyClient, 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) 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 (*Brand) STV ¶
func (r *Brand) STV() unstructured.ServiceTypeVersion
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 (r *IdentityAwareProxyClient) Apply(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, opts ...dcl.ApplyOption) (*unstructured.Resource, error)
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 (r *IdentityAwareProxyClient) Get(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
func (*IdentityAwareProxyClient) GetPolicy ¶
func (r *IdentityAwareProxyClient) GetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
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 (r *IdentityAwareProxyClient) ID(resource *unstructured.Resource) (string, error)
func (*IdentityAwareProxyClient) STV ¶
func (r *IdentityAwareProxyClient) STV() unstructured.ServiceTypeVersion
func (*IdentityAwareProxyClient) SetPolicy ¶
func (r *IdentityAwareProxyClient) SetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, policy *unstructured.Resource) (*unstructured.Resource, error)
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)