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 ApplyRealm(ctx context.Context, config *dcl.Config, u *unstructured.Resource, ...) (*unstructured.Resource, error)
- func DeleteRealm(ctx context.Context, config *dcl.Config, u *unstructured.Resource) error
- func GetRealm(ctx context.Context, config *dcl.Config, u *unstructured.Resource) (*unstructured.Resource, error)
- func ListRealm(ctx context.Context, config *dcl.Config, project string, location string) ([]*unstructured.Resource, error)
- func RealmHasDiff(ctx context.Context, config *dcl.Config, u *unstructured.Resource, ...) (bool, error)
- func RealmID(u *unstructured.Resource) (string, error)
- func RealmToUnstructured(r *dclService.Realm) *unstructured.Resource
- func UnstructuredToRealm(u *unstructured.Resource) (*dclService.Realm, error)
- type Realm
- func (r *Realm) Apply(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *Realm) Delete(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) error
- func (r *Realm) Get(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
- func (r *Realm) GetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
- func (r *Realm) GetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *Realm) HasDiff(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (bool, error)
- func (r *Realm) ID(resource *unstructured.Resource) (string, error)
- func (r *Realm) STV() unstructured.ServiceTypeVersion
- func (r *Realm) SetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *Realm) 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 ApplyRealm ¶
func ApplyRealm(ctx context.Context, config *dcl.Config, u *unstructured.Resource, opts ...dcl.ApplyOption) (*unstructured.Resource, error)
func DeleteRealm ¶
func GetRealm ¶
func GetRealm(ctx context.Context, config *dcl.Config, u *unstructured.Resource) (*unstructured.Resource, error)
func RealmHasDiff ¶
func RealmHasDiff(ctx context.Context, config *dcl.Config, u *unstructured.Resource, opts ...dcl.ApplyOption) (bool, error)
func RealmToUnstructured ¶
func RealmToUnstructured(r *dclService.Realm) *unstructured.Resource
func UnstructuredToRealm ¶
func UnstructuredToRealm(u *unstructured.Resource) (*dclService.Realm, error)
Types ¶
type Realm ¶
type Realm struct{}
func (*Realm) Apply ¶
func (r *Realm) Apply(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, opts ...dcl.ApplyOption) (*unstructured.Resource, error)
func (*Realm) Get ¶
func (r *Realm) Get(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
func (*Realm) GetPolicy ¶
func (r *Realm) GetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
func (*Realm) GetPolicyMember ¶
func (*Realm) STV ¶
func (r *Realm) STV() unstructured.ServiceTypeVersion
func (*Realm) SetPolicy ¶
func (r *Realm) SetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, policy *unstructured.Resource) (*unstructured.Resource, error)
func (*Realm) SetPolicyMember ¶
func (r *Realm) 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.