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 ApplyWebApp(ctx context.Context, config *dcl.Config, u *unstructured.Resource, ...) (*unstructured.Resource, error)
- func DeleteWebApp(ctx context.Context, config *dcl.Config, u *unstructured.Resource) error
- func GetWebApp(ctx context.Context, config *dcl.Config, u *unstructured.Resource) (*unstructured.Resource, error)
- func ListWebApp(ctx context.Context, config *dcl.Config, project string) ([]*unstructured.Resource, error)
- func UnstructuredToWebApp(u *unstructured.Resource) (*dclService.WebApp, error)
- func WebAppHasDiff(ctx context.Context, config *dcl.Config, u *unstructured.Resource, ...) (bool, error)
- func WebAppID(u *unstructured.Resource) (string, error)
- func WebAppToUnstructured(r *dclService.WebApp) *unstructured.Resource
- type WebApp
- func (r *WebApp) Apply(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *WebApp) Delete(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) error
- func (r *WebApp) DeletePolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) error
- func (r *WebApp) Get(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
- func (r *WebApp) GetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
- func (r *WebApp) GetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *WebApp) HasDiff(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (bool, error)
- func (r *WebApp) ID(resource *unstructured.Resource) (string, error)
- func (r *WebApp) STV() unstructured.ServiceTypeVersion
- func (r *WebApp) SetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *WebApp) SetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *WebApp) 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 ApplyWebApp ¶
func ApplyWebApp(ctx context.Context, config *dcl.Config, u *unstructured.Resource, opts ...dcl.ApplyOption) (*unstructured.Resource, error)
func DeleteWebApp ¶
func GetWebApp ¶
func GetWebApp(ctx context.Context, config *dcl.Config, u *unstructured.Resource) (*unstructured.Resource, error)
func ListWebApp ¶
func UnstructuredToWebApp ¶
func UnstructuredToWebApp(u *unstructured.Resource) (*dclService.WebApp, error)
func WebAppHasDiff ¶
func WebAppHasDiff(ctx context.Context, config *dcl.Config, u *unstructured.Resource, opts ...dcl.ApplyOption) (bool, error)
func WebAppToUnstructured ¶
func WebAppToUnstructured(r *dclService.WebApp) *unstructured.Resource
Types ¶
type WebApp ¶
type WebApp struct{}
func (*WebApp) Apply ¶
func (r *WebApp) Apply(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, opts ...dcl.ApplyOption) (*unstructured.Resource, error)
func (*WebApp) DeletePolicyMember ¶
func (r *WebApp) DeletePolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, member *unstructured.Resource) error
func (*WebApp) Get ¶
func (r *WebApp) Get(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
func (*WebApp) GetPolicy ¶
func (r *WebApp) GetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
func (*WebApp) GetPolicyMember ¶
func (*WebApp) STV ¶
func (r *WebApp) STV() unstructured.ServiceTypeVersion
func (*WebApp) SetPolicy ¶
func (r *WebApp) SetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, policy *unstructured.Resource) (*unstructured.Resource, error)
func (*WebApp) SetPolicyMember ¶
func (r *WebApp) SetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, member *unstructured.Resource) (*unstructured.Resource, error)
func (*WebApp) SetPolicyWithEtag ¶
func (r *WebApp) SetPolicyWithEtag(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, policy *unstructured.Resource) (*unstructured.Resource, error)
Click to show internal directories.
Click to hide internal directories.