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.
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 ApplyDataset(ctx context.Context, config *dcl.Config, u *unstructured.Resource, ...) (*unstructured.Resource, error)
- func ApplyRoutine(ctx context.Context, config *dcl.Config, u *unstructured.Resource, ...) (*unstructured.Resource, error)
- func DatasetHasDiff(ctx context.Context, config *dcl.Config, u *unstructured.Resource, ...) (bool, error)
- func DatasetID(u *unstructured.Resource) (string, error)
- func DatasetToUnstructured(r *dclService.Dataset) *unstructured.Resource
- func DeleteDataset(ctx context.Context, config *dcl.Config, u *unstructured.Resource) error
- func DeleteRoutine(ctx context.Context, config *dcl.Config, u *unstructured.Resource) error
- func GetDataset(ctx context.Context, config *dcl.Config, u *unstructured.Resource) (*unstructured.Resource, error)
- func GetRoutine(ctx context.Context, config *dcl.Config, u *unstructured.Resource) (*unstructured.Resource, error)
- func ListDataset(ctx context.Context, config *dcl.Config, project string) ([]*unstructured.Resource, error)
- func ListRoutine(ctx context.Context, config *dcl.Config, project string, dataset string) ([]*unstructured.Resource, error)
- func RoutineArgumentsDataTypeToUnstructured(r *dclService.RoutineArgumentsDataType) map[string]interface{}
- func RoutineHasDiff(ctx context.Context, config *dcl.Config, u *unstructured.Resource, ...) (bool, error)
- func RoutineID(u *unstructured.Resource) (string, error)
- func RoutineToUnstructured(r *dclService.Routine) *unstructured.Resource
- func UnstructuredToDataset(u *unstructured.Resource) (*dclService.Dataset, error)
- func UnstructuredToRoutine(u *unstructured.Resource) (*dclService.Routine, error)
- func UnstructuredToRoutineArgumentsDataType(obj map[string]interface{}) (*dclService.RoutineArgumentsDataType, error)
- type Dataset
- func (r *Dataset) Apply(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *Dataset) Delete(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) error
- func (r *Dataset) DeletePolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) error
- func (r *Dataset) Get(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
- func (r *Dataset) GetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
- func (r *Dataset) GetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *Dataset) HasDiff(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (bool, error)
- func (r *Dataset) ID(resource *unstructured.Resource) (string, error)
- func (r *Dataset) STV() unstructured.ServiceTypeVersion
- func (r *Dataset) SetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *Dataset) SetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *Dataset) SetPolicyWithEtag(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- type Routine
- func (r *Routine) Apply(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *Routine) Delete(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) error
- func (r *Routine) DeletePolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) error
- func (r *Routine) Get(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
- func (r *Routine) GetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
- func (r *Routine) GetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *Routine) HasDiff(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (bool, error)
- func (r *Routine) ID(resource *unstructured.Resource) (string, error)
- func (r *Routine) STV() unstructured.ServiceTypeVersion
- func (r *Routine) SetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *Routine) SetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *Routine) 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 ApplyDataset ¶ added in v1.4.0
func ApplyDataset(ctx context.Context, config *dcl.Config, u *unstructured.Resource, opts ...dcl.ApplyOption) (*unstructured.Resource, error)
func ApplyRoutine ¶
func ApplyRoutine(ctx context.Context, config *dcl.Config, u *unstructured.Resource, opts ...dcl.ApplyOption) (*unstructured.Resource, error)
func DatasetHasDiff ¶ added in v1.4.0
func DatasetHasDiff(ctx context.Context, config *dcl.Config, u *unstructured.Resource, opts ...dcl.ApplyOption) (bool, error)
func DatasetToUnstructured ¶ added in v1.4.0
func DatasetToUnstructured(r *dclService.Dataset) *unstructured.Resource
func DeleteDataset ¶ added in v1.4.0
func DeleteRoutine ¶
func GetDataset ¶ added in v1.4.0
func GetDataset(ctx context.Context, config *dcl.Config, u *unstructured.Resource) (*unstructured.Resource, error)
func GetRoutine ¶
func GetRoutine(ctx context.Context, config *dcl.Config, u *unstructured.Resource) (*unstructured.Resource, error)
func ListDataset ¶ added in v1.4.0
func ListRoutine ¶
func RoutineArgumentsDataTypeToUnstructured ¶
func RoutineArgumentsDataTypeToUnstructured(r *dclService.RoutineArgumentsDataType) map[string]interface{}
func RoutineHasDiff ¶
func RoutineHasDiff(ctx context.Context, config *dcl.Config, u *unstructured.Resource, opts ...dcl.ApplyOption) (bool, error)
func RoutineToUnstructured ¶
func RoutineToUnstructured(r *dclService.Routine) *unstructured.Resource
func UnstructuredToDataset ¶ added in v1.4.0
func UnstructuredToDataset(u *unstructured.Resource) (*dclService.Dataset, error)
func UnstructuredToRoutine ¶
func UnstructuredToRoutine(u *unstructured.Resource) (*dclService.Routine, error)
func UnstructuredToRoutineArgumentsDataType ¶
func UnstructuredToRoutineArgumentsDataType(obj map[string]interface{}) (*dclService.RoutineArgumentsDataType, error)
Types ¶
type Dataset ¶ added in v1.4.0
type Dataset struct{}
func (*Dataset) Apply ¶ added in v1.4.0
func (r *Dataset) Apply(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, opts ...dcl.ApplyOption) (*unstructured.Resource, error)
func (*Dataset) DeletePolicyMember ¶ added in v1.4.0
func (r *Dataset) DeletePolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, member *unstructured.Resource) error
func (*Dataset) Get ¶ added in v1.4.0
func (r *Dataset) Get(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
func (*Dataset) GetPolicy ¶ added in v1.4.0
func (r *Dataset) GetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
func (*Dataset) GetPolicyMember ¶ added in v1.4.0
func (*Dataset) ID ¶ added in v1.4.0
func (r *Dataset) ID(resource *unstructured.Resource) (string, error)
func (*Dataset) STV ¶ added in v1.4.0
func (r *Dataset) STV() unstructured.ServiceTypeVersion
func (*Dataset) SetPolicy ¶ added in v1.4.0
func (r *Dataset) SetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, policy *unstructured.Resource) (*unstructured.Resource, error)
func (*Dataset) SetPolicyMember ¶ added in v1.4.0
func (r *Dataset) SetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, member *unstructured.Resource) (*unstructured.Resource, error)
func (*Dataset) SetPolicyWithEtag ¶ added in v1.4.0
func (r *Dataset) SetPolicyWithEtag(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, policy *unstructured.Resource) (*unstructured.Resource, error)
type Routine ¶
type Routine struct{}
func (*Routine) Apply ¶
func (r *Routine) Apply(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, opts ...dcl.ApplyOption) (*unstructured.Resource, error)
func (*Routine) DeletePolicyMember ¶ added in v1.1.0
func (r *Routine) DeletePolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, member *unstructured.Resource) error
func (*Routine) Get ¶
func (r *Routine) Get(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
func (*Routine) GetPolicy ¶
func (r *Routine) GetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
func (*Routine) GetPolicyMember ¶
func (*Routine) STV ¶
func (r *Routine) STV() unstructured.ServiceTypeVersion
func (*Routine) SetPolicy ¶
func (r *Routine) SetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, policy *unstructured.Resource) (*unstructured.Resource, error)
func (*Routine) SetPolicyMember ¶
func (r *Routine) SetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, member *unstructured.Resource) (*unstructured.Resource, error)
func (*Routine) SetPolicyWithEtag ¶ added in v1.1.0
func (r *Routine) SetPolicyWithEtag(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, policy *unstructured.Resource) (*unstructured.Resource, error)