firebase

package
v1.40.0 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

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.

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

Constants

This section is empty.

Variables

This section is empty.

Functions

func AndroidAppHasDiff added in v1.17.0

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

func AndroidAppID added in v1.17.0

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

func AndroidAppToUnstructured added in v1.17.0

func AndroidAppToUnstructured(r *dclService.AndroidApp) *unstructured.Resource

func AppleAppHasDiff added in v1.16.0

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

func AppleAppID added in v1.16.0

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

func AppleAppToUnstructured added in v1.16.0

func AppleAppToUnstructured(r *dclService.AppleApp) *unstructured.Resource

func ApplyAndroidApp added in v1.17.0

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

func ApplyAppleApp added in v1.16.0

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

func ApplyFirebaseProject added in v1.16.0

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

func ApplyWebApp

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

func DeleteAndroidApp added in v1.17.0

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

func DeleteAppleApp added in v1.16.0

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

func DeleteFirebaseProject added in v1.16.0

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

func DeleteWebApp

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

func FirebaseProjectHasDiff added in v1.16.0

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

func FirebaseProjectID added in v1.16.0

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

func FirebaseProjectToUnstructured added in v1.16.0

func FirebaseProjectToUnstructured(r *dclService.FirebaseProject) *unstructured.Resource

func GetAndroidApp added in v1.17.0

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

func GetAppleApp added in v1.16.0

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

func GetFirebaseProject added in v1.16.0

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

func GetWebApp

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

func ListAndroidApp added in v1.17.0

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

func ListAppleApp added in v1.16.0

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

func ListFirebaseProject added in v1.16.0

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

func ListWebApp

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

func UnstructuredToAndroidApp added in v1.17.0

func UnstructuredToAndroidApp(u *unstructured.Resource) (*dclService.AndroidApp, error)

func UnstructuredToAppleApp added in v1.16.0

func UnstructuredToAppleApp(u *unstructured.Resource) (*dclService.AppleApp, error)

func UnstructuredToFirebaseProject added in v1.16.0

func UnstructuredToFirebaseProject(u *unstructured.Resource) (*dclService.FirebaseProject, error)

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 WebAppID

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

func WebAppToUnstructured

func WebAppToUnstructured(r *dclService.WebApp) *unstructured.Resource

Types

type AndroidApp added in v1.17.0

type AndroidApp struct{}

func (*AndroidApp) Apply added in v1.17.0

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

func (*AndroidApp) Delete added in v1.17.0

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

func (*AndroidApp) DeletePolicyMember added in v1.17.0

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

func (*AndroidApp) Get added in v1.17.0

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

func (*AndroidApp) GetPolicy added in v1.17.0

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

func (*AndroidApp) GetPolicyMember added in v1.17.0

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

func (*AndroidApp) HasDiff added in v1.17.0

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

func (*AndroidApp) ID added in v1.17.0

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

func (*AndroidApp) STV added in v1.17.0

func (*AndroidApp) SetPolicy added in v1.17.0

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

func (*AndroidApp) SetPolicyMember added in v1.17.0

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

func (*AndroidApp) SetPolicyWithEtag added in v1.17.0

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

type AppleApp added in v1.16.0

type AppleApp struct{}

func (*AppleApp) Apply added in v1.16.0

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

func (*AppleApp) Delete added in v1.16.0

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

func (*AppleApp) DeletePolicyMember added in v1.16.0

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

func (*AppleApp) Get added in v1.16.0

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

func (*AppleApp) GetPolicy added in v1.16.0

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

func (*AppleApp) GetPolicyMember added in v1.16.0

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

func (*AppleApp) HasDiff added in v1.16.0

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

func (*AppleApp) ID added in v1.16.0

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

func (*AppleApp) STV added in v1.16.0

func (*AppleApp) SetPolicy added in v1.16.0

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

func (*AppleApp) SetPolicyMember added in v1.16.0

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

func (*AppleApp) SetPolicyWithEtag added in v1.16.0

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

type FirebaseProject added in v1.16.0

type FirebaseProject struct{}

func (*FirebaseProject) Apply added in v1.16.0

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

func (*FirebaseProject) Delete added in v1.16.0

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

func (*FirebaseProject) DeletePolicyMember added in v1.16.0

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

func (*FirebaseProject) Get added in v1.16.0

func (*FirebaseProject) GetPolicy added in v1.16.0

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

func (*FirebaseProject) GetPolicyMember added in v1.16.0

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

func (*FirebaseProject) HasDiff added in v1.16.0

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

func (*FirebaseProject) ID added in v1.16.0

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

func (*FirebaseProject) STV added in v1.16.0

func (*FirebaseProject) SetPolicy added in v1.16.0

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

func (*FirebaseProject) SetPolicyMember added in v1.16.0

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

func (*FirebaseProject) SetPolicyWithEtag added in v1.16.0

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

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) Delete

func (r *WebApp) Delete(ctx context.Context, config *dcl.Config, resource *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 (r *WebApp) GetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, role, member string) (*unstructured.Resource, error)

func (*WebApp) HasDiff

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

func (*WebApp) ID

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

func (*WebApp) STV

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)

Jump to

Keyboard shortcuts

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