dataproc

package
v1.20.0 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

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.

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

Constants

This section is empty.

Variables

This section is empty.

Functions

func ApplyAutoscalingPolicy

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

func ApplyCluster

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

func ApplyWorkflowTemplate

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

func AutoscalingPolicyHasDiff

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

func AutoscalingPolicyID

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

func AutoscalingPolicyToUnstructured

func AutoscalingPolicyToUnstructured(r *dclService.AutoscalingPolicy) *unstructured.Resource

func ClusterHasDiff

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

func ClusterID

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

func ClusterToUnstructured

func ClusterToUnstructured(r *dclService.Cluster) *unstructured.Resource

func DeleteAutoscalingPolicy

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

func DeleteCluster

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

func DeletePolicyMemberCluster added in v1.1.0

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

func DeleteWorkflowTemplate

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

func GetAutoscalingPolicy

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

func GetCluster

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

func GetPolicyCluster

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

func GetPolicyMemberCluster

func GetPolicyMemberCluster(ctx context.Context, config *dcl.Config, u *unstructured.Resource, role, member string) (*unstructured.Resource, error)

func GetWorkflowTemplate

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

func ListAutoscalingPolicy

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

func ListCluster

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

func ListWorkflowTemplate

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

func SetPolicyWithEtagCluster added in v1.1.0

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

func UnstructuredToAutoscalingPolicy

func UnstructuredToAutoscalingPolicy(u *unstructured.Resource) (*dclService.AutoscalingPolicy, error)

func UnstructuredToCluster

func UnstructuredToCluster(u *unstructured.Resource) (*dclService.Cluster, error)

func UnstructuredToWorkflowTemplate

func UnstructuredToWorkflowTemplate(u *unstructured.Resource) (*dclService.WorkflowTemplate, error)

func WorkflowTemplateHasDiff

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

func WorkflowTemplateID

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

func WorkflowTemplateToUnstructured

func WorkflowTemplateToUnstructured(r *dclService.WorkflowTemplate) *unstructured.Resource

Types

type AutoscalingPolicy

type AutoscalingPolicy struct{}

func (*AutoscalingPolicy) Apply

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

func (*AutoscalingPolicy) Delete

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

func (*AutoscalingPolicy) DeletePolicyMember added in v1.1.0

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

func (*AutoscalingPolicy) Get

func (*AutoscalingPolicy) GetPolicy

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

func (*AutoscalingPolicy) GetPolicyMember

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

func (*AutoscalingPolicy) HasDiff

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

func (*AutoscalingPolicy) ID

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

func (*AutoscalingPolicy) STV

func (*AutoscalingPolicy) SetPolicy

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

func (*AutoscalingPolicy) SetPolicyMember

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

func (*AutoscalingPolicy) SetPolicyWithEtag added in v1.1.0

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

type Cluster

type Cluster struct{}

func (*Cluster) Apply

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

func (*Cluster) Delete

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

func (*Cluster) DeletePolicyMember added in v1.1.0

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

func (*Cluster) Get

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

func (*Cluster) GetPolicy

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

func (*Cluster) GetPolicyMember

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

func (*Cluster) HasDiff

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

func (*Cluster) ID

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

func (*Cluster) STV

func (*Cluster) SetPolicy

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

func (*Cluster) SetPolicyMember

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

func (*Cluster) SetPolicyWithEtag added in v1.1.0

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

type WorkflowTemplate

type WorkflowTemplate struct{}

func (*WorkflowTemplate) Apply

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

func (*WorkflowTemplate) Delete

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

func (*WorkflowTemplate) DeletePolicyMember added in v1.1.0

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

func (*WorkflowTemplate) Get

func (*WorkflowTemplate) GetPolicy

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

func (*WorkflowTemplate) GetPolicyMember

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

func (*WorkflowTemplate) HasDiff

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

func (*WorkflowTemplate) ID

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

func (*WorkflowTemplate) STV

func (*WorkflowTemplate) SetPolicy

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

func (*WorkflowTemplate) SetPolicyMember

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

func (*WorkflowTemplate) SetPolicyWithEtag added in v1.1.0

func (r *WorkflowTemplate) 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