Documentation ¶
Overview ¶
Copyright 2024 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 2024 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 2024 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 2024 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 ApplyLogBucket(ctx context.Context, config *dcl.Config, u *unstructured.Resource, ...) (*unstructured.Resource, error)
- func ApplyLogExclusion(ctx context.Context, config *dcl.Config, u *unstructured.Resource, ...) (*unstructured.Resource, error)
- func ApplyLogMetric(ctx context.Context, config *dcl.Config, u *unstructured.Resource, ...) (*unstructured.Resource, error)
- func ApplyLogView(ctx context.Context, config *dcl.Config, u *unstructured.Resource, ...) (*unstructured.Resource, error)
- func DeleteLogBucket(ctx context.Context, config *dcl.Config, u *unstructured.Resource) error
- func DeleteLogExclusion(ctx context.Context, config *dcl.Config, u *unstructured.Resource) error
- func DeleteLogMetric(ctx context.Context, config *dcl.Config, u *unstructured.Resource) error
- func DeleteLogView(ctx context.Context, config *dcl.Config, u *unstructured.Resource) error
- func GetLogBucket(ctx context.Context, config *dcl.Config, u *unstructured.Resource) (*unstructured.Resource, error)
- func GetLogExclusion(ctx context.Context, config *dcl.Config, u *unstructured.Resource) (*unstructured.Resource, error)
- func GetLogMetric(ctx context.Context, config *dcl.Config, u *unstructured.Resource) (*unstructured.Resource, error)
- func GetLogView(ctx context.Context, config *dcl.Config, u *unstructured.Resource) (*unstructured.Resource, error)
- func ListLogBucket(ctx context.Context, config *dcl.Config, location string, parent string) ([]*unstructured.Resource, error)
- func ListLogExclusion(ctx context.Context, config *dcl.Config, parent string) ([]*unstructured.Resource, error)
- func ListLogMetric(ctx context.Context, config *dcl.Config, project string) ([]*unstructured.Resource, error)
- func ListLogView(ctx context.Context, config *dcl.Config, location string, bucket string, ...) ([]*unstructured.Resource, error)
- func LogBucketHasDiff(ctx context.Context, config *dcl.Config, u *unstructured.Resource, ...) (bool, error)
- func LogBucketID(u *unstructured.Resource) (string, error)
- func LogBucketToUnstructured(r *dclService.LogBucket) *unstructured.Resource
- func LogExclusionHasDiff(ctx context.Context, config *dcl.Config, u *unstructured.Resource, ...) (bool, error)
- func LogExclusionID(u *unstructured.Resource) (string, error)
- func LogExclusionToUnstructured(r *dclService.LogExclusion) *unstructured.Resource
- func LogMetricHasDiff(ctx context.Context, config *dcl.Config, u *unstructured.Resource, ...) (bool, error)
- func LogMetricID(u *unstructured.Resource) (string, error)
- func LogMetricToUnstructured(r *dclService.LogMetric) *unstructured.Resource
- func LogViewHasDiff(ctx context.Context, config *dcl.Config, u *unstructured.Resource, ...) (bool, error)
- func LogViewID(u *unstructured.Resource) (string, error)
- func LogViewToUnstructured(r *dclService.LogView) *unstructured.Resource
- func UnstructuredToLogBucket(u *unstructured.Resource) (*dclService.LogBucket, error)
- func UnstructuredToLogExclusion(u *unstructured.Resource) (*dclService.LogExclusion, error)
- func UnstructuredToLogMetric(u *unstructured.Resource) (*dclService.LogMetric, error)
- func UnstructuredToLogView(u *unstructured.Resource) (*dclService.LogView, error)
- type LogBucket
- func (r *LogBucket) Apply(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *LogBucket) Delete(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) error
- func (r *LogBucket) DeletePolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) error
- func (r *LogBucket) Get(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
- func (r *LogBucket) GetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
- func (r *LogBucket) GetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *LogBucket) HasDiff(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (bool, error)
- func (r *LogBucket) ID(resource *unstructured.Resource) (string, error)
- func (r *LogBucket) STV() unstructured.ServiceTypeVersion
- func (r *LogBucket) SetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *LogBucket) SetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *LogBucket) SetPolicyWithEtag(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- type LogExclusion
- func (r *LogExclusion) Apply(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *LogExclusion) Delete(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) error
- func (r *LogExclusion) DeletePolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) error
- func (r *LogExclusion) Get(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
- func (r *LogExclusion) GetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
- func (r *LogExclusion) GetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *LogExclusion) HasDiff(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (bool, error)
- func (r *LogExclusion) ID(resource *unstructured.Resource) (string, error)
- func (r *LogExclusion) STV() unstructured.ServiceTypeVersion
- func (r *LogExclusion) SetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *LogExclusion) SetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *LogExclusion) SetPolicyWithEtag(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- type LogMetric
- func (r *LogMetric) Apply(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *LogMetric) Delete(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) error
- func (r *LogMetric) DeletePolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) error
- func (r *LogMetric) Get(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
- func (r *LogMetric) GetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
- func (r *LogMetric) GetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *LogMetric) HasDiff(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (bool, error)
- func (r *LogMetric) ID(resource *unstructured.Resource) (string, error)
- func (r *LogMetric) STV() unstructured.ServiceTypeVersion
- func (r *LogMetric) SetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *LogMetric) SetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *LogMetric) SetPolicyWithEtag(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- type LogView
- func (r *LogView) Apply(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *LogView) Delete(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) error
- func (r *LogView) DeletePolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) error
- func (r *LogView) Get(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
- func (r *LogView) GetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
- func (r *LogView) GetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *LogView) HasDiff(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (bool, error)
- func (r *LogView) ID(resource *unstructured.Resource) (string, error)
- func (r *LogView) STV() unstructured.ServiceTypeVersion
- func (r *LogView) SetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *LogView) SetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, ...) (*unstructured.Resource, error)
- func (r *LogView) 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 ApplyLogBucket ¶
func ApplyLogBucket(ctx context.Context, config *dcl.Config, u *unstructured.Resource, opts ...dcl.ApplyOption) (*unstructured.Resource, error)
func ApplyLogExclusion ¶
func ApplyLogExclusion(ctx context.Context, config *dcl.Config, u *unstructured.Resource, opts ...dcl.ApplyOption) (*unstructured.Resource, error)
func ApplyLogMetric ¶
func ApplyLogMetric(ctx context.Context, config *dcl.Config, u *unstructured.Resource, opts ...dcl.ApplyOption) (*unstructured.Resource, error)
func ApplyLogView ¶
func ApplyLogView(ctx context.Context, config *dcl.Config, u *unstructured.Resource, opts ...dcl.ApplyOption) (*unstructured.Resource, error)
func DeleteLogBucket ¶
func DeleteLogExclusion ¶
func DeleteLogMetric ¶
func DeleteLogView ¶
func GetLogBucket ¶
func GetLogBucket(ctx context.Context, config *dcl.Config, u *unstructured.Resource) (*unstructured.Resource, error)
func GetLogExclusion ¶
func GetLogExclusion(ctx context.Context, config *dcl.Config, u *unstructured.Resource) (*unstructured.Resource, error)
func GetLogMetric ¶
func GetLogMetric(ctx context.Context, config *dcl.Config, u *unstructured.Resource) (*unstructured.Resource, error)
func GetLogView ¶
func GetLogView(ctx context.Context, config *dcl.Config, u *unstructured.Resource) (*unstructured.Resource, error)
func ListLogBucket ¶
func ListLogExclusion ¶
func ListLogMetric ¶
func ListLogView ¶
func LogBucketHasDiff ¶
func LogBucketHasDiff(ctx context.Context, config *dcl.Config, u *unstructured.Resource, opts ...dcl.ApplyOption) (bool, error)
func LogBucketID ¶
func LogBucketID(u *unstructured.Resource) (string, error)
func LogBucketToUnstructured ¶
func LogBucketToUnstructured(r *dclService.LogBucket) *unstructured.Resource
func LogExclusionHasDiff ¶
func LogExclusionHasDiff(ctx context.Context, config *dcl.Config, u *unstructured.Resource, opts ...dcl.ApplyOption) (bool, error)
func LogExclusionID ¶
func LogExclusionID(u *unstructured.Resource) (string, error)
func LogExclusionToUnstructured ¶
func LogExclusionToUnstructured(r *dclService.LogExclusion) *unstructured.Resource
func LogMetricHasDiff ¶
func LogMetricHasDiff(ctx context.Context, config *dcl.Config, u *unstructured.Resource, opts ...dcl.ApplyOption) (bool, error)
func LogMetricID ¶
func LogMetricID(u *unstructured.Resource) (string, error)
func LogMetricToUnstructured ¶
func LogMetricToUnstructured(r *dclService.LogMetric) *unstructured.Resource
func LogViewHasDiff ¶
func LogViewHasDiff(ctx context.Context, config *dcl.Config, u *unstructured.Resource, opts ...dcl.ApplyOption) (bool, error)
func LogViewToUnstructured ¶
func LogViewToUnstructured(r *dclService.LogView) *unstructured.Resource
func UnstructuredToLogBucket ¶
func UnstructuredToLogBucket(u *unstructured.Resource) (*dclService.LogBucket, error)
func UnstructuredToLogExclusion ¶
func UnstructuredToLogExclusion(u *unstructured.Resource) (*dclService.LogExclusion, error)
func UnstructuredToLogMetric ¶
func UnstructuredToLogMetric(u *unstructured.Resource) (*dclService.LogMetric, error)
func UnstructuredToLogView ¶
func UnstructuredToLogView(u *unstructured.Resource) (*dclService.LogView, error)
Types ¶
type LogBucket ¶
type LogBucket struct{}
func (*LogBucket) Apply ¶
func (r *LogBucket) Apply(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, opts ...dcl.ApplyOption) (*unstructured.Resource, error)
func (*LogBucket) DeletePolicyMember ¶ added in v1.1.0
func (r *LogBucket) DeletePolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, member *unstructured.Resource) error
func (*LogBucket) Get ¶
func (r *LogBucket) Get(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
func (*LogBucket) GetPolicy ¶
func (r *LogBucket) GetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
func (*LogBucket) GetPolicyMember ¶
func (*LogBucket) STV ¶
func (r *LogBucket) STV() unstructured.ServiceTypeVersion
func (*LogBucket) SetPolicy ¶
func (r *LogBucket) SetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, policy *unstructured.Resource) (*unstructured.Resource, error)
func (*LogBucket) SetPolicyMember ¶
func (r *LogBucket) SetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, member *unstructured.Resource) (*unstructured.Resource, error)
func (*LogBucket) SetPolicyWithEtag ¶ added in v1.1.0
func (r *LogBucket) SetPolicyWithEtag(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, policy *unstructured.Resource) (*unstructured.Resource, error)
type LogExclusion ¶
type LogExclusion struct{}
func (*LogExclusion) Apply ¶
func (r *LogExclusion) Apply(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, opts ...dcl.ApplyOption) (*unstructured.Resource, error)
func (*LogExclusion) Delete ¶
func (r *LogExclusion) Delete(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) error
func (*LogExclusion) DeletePolicyMember ¶ added in v1.1.0
func (r *LogExclusion) DeletePolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, member *unstructured.Resource) error
func (*LogExclusion) Get ¶
func (r *LogExclusion) Get(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
func (*LogExclusion) GetPolicy ¶
func (r *LogExclusion) GetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
func (*LogExclusion) GetPolicyMember ¶
func (r *LogExclusion) GetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, role, member string) (*unstructured.Resource, error)
func (*LogExclusion) HasDiff ¶
func (r *LogExclusion) HasDiff(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, opts ...dcl.ApplyOption) (bool, error)
func (*LogExclusion) ID ¶
func (r *LogExclusion) ID(resource *unstructured.Resource) (string, error)
func (*LogExclusion) STV ¶
func (r *LogExclusion) STV() unstructured.ServiceTypeVersion
func (*LogExclusion) SetPolicy ¶
func (r *LogExclusion) SetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, policy *unstructured.Resource) (*unstructured.Resource, error)
func (*LogExclusion) SetPolicyMember ¶
func (r *LogExclusion) SetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, member *unstructured.Resource) (*unstructured.Resource, error)
func (*LogExclusion) SetPolicyWithEtag ¶ added in v1.1.0
func (r *LogExclusion) SetPolicyWithEtag(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, policy *unstructured.Resource) (*unstructured.Resource, error)
type LogMetric ¶
type LogMetric struct{}
func (*LogMetric) Apply ¶
func (r *LogMetric) Apply(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, opts ...dcl.ApplyOption) (*unstructured.Resource, error)
func (*LogMetric) DeletePolicyMember ¶ added in v1.1.0
func (r *LogMetric) DeletePolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, member *unstructured.Resource) error
func (*LogMetric) Get ¶
func (r *LogMetric) Get(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
func (*LogMetric) GetPolicy ¶
func (r *LogMetric) GetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
func (*LogMetric) GetPolicyMember ¶
func (*LogMetric) STV ¶
func (r *LogMetric) STV() unstructured.ServiceTypeVersion
func (*LogMetric) SetPolicy ¶
func (r *LogMetric) SetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, policy *unstructured.Resource) (*unstructured.Resource, error)
func (*LogMetric) SetPolicyMember ¶
func (r *LogMetric) SetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, member *unstructured.Resource) (*unstructured.Resource, error)
func (*LogMetric) SetPolicyWithEtag ¶ added in v1.1.0
func (r *LogMetric) SetPolicyWithEtag(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, policy *unstructured.Resource) (*unstructured.Resource, error)
type LogView ¶
type LogView struct{}
func (*LogView) Apply ¶
func (r *LogView) Apply(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, opts ...dcl.ApplyOption) (*unstructured.Resource, error)
func (*LogView) DeletePolicyMember ¶ added in v1.1.0
func (r *LogView) DeletePolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, member *unstructured.Resource) error
func (*LogView) Get ¶
func (r *LogView) Get(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
func (*LogView) GetPolicy ¶
func (r *LogView) GetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource) (*unstructured.Resource, error)
func (*LogView) GetPolicyMember ¶
func (*LogView) STV ¶
func (r *LogView) STV() unstructured.ServiceTypeVersion
func (*LogView) SetPolicy ¶
func (r *LogView) SetPolicy(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, policy *unstructured.Resource) (*unstructured.Resource, error)
func (*LogView) SetPolicyMember ¶
func (r *LogView) SetPolicyMember(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, member *unstructured.Resource) (*unstructured.Resource, error)
func (*LogView) SetPolicyWithEtag ¶ added in v1.1.0
func (r *LogView) SetPolicyWithEtag(ctx context.Context, config *dcl.Config, resource *unstructured.Resource, policy *unstructured.Resource) (*unstructured.Resource, error)