monitoring

package
v1.12.2 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2022 License: Apache-2.0 Imports: 5 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.

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.

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 ApplyDashboard

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

func ApplyGroup

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

func ApplyMetricDescriptor

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

func ApplyMetricsScope

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

func ApplyMonitoredProject

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

func ApplyNotificationChannel

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

func ApplyService

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

func ApplyServiceLevelObjective

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

func ApplyUptimeCheckConfig

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

func DashboardHasDiff

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

func DashboardID

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

func DashboardToUnstructured

func DashboardToUnstructured(r *dclService.Dashboard) *unstructured.Resource

func DeleteDashboard

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

func DeleteGroup

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

func DeleteMetricDescriptor

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

func DeleteMetricsScope

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

func DeleteMonitoredProject

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

func DeleteNotificationChannel

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

func DeleteService

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

func DeleteServiceLevelObjective

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

func DeleteUptimeCheckConfig

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

func GetDashboard

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

func GetGroup

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

func GetMetricDescriptor

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

func GetMetricsScope

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

func GetMonitoredProject

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

func GetNotificationChannel

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

func GetService

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

func GetServiceLevelObjective

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

func GetUptimeCheckConfig

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

func GroupHasDiff

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

func GroupID

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

func GroupToUnstructured

func GroupToUnstructured(r *dclService.Group) *unstructured.Resource

func ListDashboard

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

func ListGroup

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

func ListMetricDescriptor

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

func ListMonitoredProject

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

func ListNotificationChannel

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

func ListService

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

func ListServiceLevelObjective

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

func ListUptimeCheckConfig

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

func MetricDescriptorHasDiff

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

func MetricDescriptorID

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

func MetricDescriptorToUnstructured

func MetricDescriptorToUnstructured(r *dclService.MetricDescriptor) *unstructured.Resource

func MetricsScopeHasDiff

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

func MetricsScopeID

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

func MetricsScopeToUnstructured

func MetricsScopeToUnstructured(r *dclService.MetricsScope) *unstructured.Resource

func MonitoredProjectHasDiff

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

func MonitoredProjectID

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

func MonitoredProjectToUnstructured

func MonitoredProjectToUnstructured(r *dclService.MonitoredProject) *unstructured.Resource

func NotificationChannelHasDiff

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

func NotificationChannelID

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

func NotificationChannelToUnstructured

func NotificationChannelToUnstructured(r *dclService.NotificationChannel) *unstructured.Resource

func ServiceHasDiff

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

func ServiceID

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

func ServiceLevelObjectiveHasDiff

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

func ServiceLevelObjectiveID

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

func ServiceToUnstructured

func ServiceToUnstructured(r *dclService.Service) *unstructured.Resource

func UnstructuredToDashboard

func UnstructuredToDashboard(u *unstructured.Resource) (*dclService.Dashboard, error)

func UnstructuredToGroup

func UnstructuredToGroup(u *unstructured.Resource) (*dclService.Group, error)

func UnstructuredToMetricDescriptor

func UnstructuredToMetricDescriptor(u *unstructured.Resource) (*dclService.MetricDescriptor, error)

func UnstructuredToMetricsScope

func UnstructuredToMetricsScope(u *unstructured.Resource) (*dclService.MetricsScope, error)

func UnstructuredToMonitoredProject

func UnstructuredToMonitoredProject(u *unstructured.Resource) (*dclService.MonitoredProject, error)

func UnstructuredToNotificationChannel

func UnstructuredToNotificationChannel(u *unstructured.Resource) (*dclService.NotificationChannel, error)

func UnstructuredToService

func UnstructuredToService(u *unstructured.Resource) (*dclService.Service, error)

func UnstructuredToServiceLevelObjective

func UnstructuredToServiceLevelObjective(u *unstructured.Resource) (*dclService.ServiceLevelObjective, error)

func UnstructuredToUptimeCheckConfig

func UnstructuredToUptimeCheckConfig(u *unstructured.Resource) (*dclService.UptimeCheckConfig, error)

func UptimeCheckConfigHasDiff

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

func UptimeCheckConfigID

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

func UptimeCheckConfigToUnstructured

func UptimeCheckConfigToUnstructured(r *dclService.UptimeCheckConfig) *unstructured.Resource

Types

type Dashboard

type Dashboard struct{}

func (*Dashboard) Apply

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

func (*Dashboard) Delete

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

func (*Dashboard) DeletePolicyMember added in v1.1.0

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

func (*Dashboard) Get

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

func (*Dashboard) GetPolicy

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

func (*Dashboard) GetPolicyMember

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

func (*Dashboard) HasDiff

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

func (*Dashboard) ID

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

func (*Dashboard) STV

func (*Dashboard) SetPolicy

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

func (*Dashboard) SetPolicyMember

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

func (*Dashboard) SetPolicyWithEtag added in v1.1.0

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

type Group

type Group struct{}

func (*Group) Apply

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

func (*Group) Delete

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

func (*Group) DeletePolicyMember added in v1.1.0

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

func (*Group) Get

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

func (*Group) GetPolicy

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

func (*Group) GetPolicyMember

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

func (*Group) HasDiff

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

func (*Group) ID

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

func (*Group) STV

func (*Group) SetPolicy

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

func (*Group) SetPolicyMember

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

func (*Group) SetPolicyWithEtag added in v1.1.0

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

type MetricDescriptor

type MetricDescriptor struct{}

func (*MetricDescriptor) Apply

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

func (*MetricDescriptor) Delete

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

func (*MetricDescriptor) DeletePolicyMember added in v1.1.0

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

func (*MetricDescriptor) Get

func (*MetricDescriptor) GetPolicy

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

func (*MetricDescriptor) GetPolicyMember

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

func (*MetricDescriptor) HasDiff

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

func (*MetricDescriptor) ID

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

func (*MetricDescriptor) STV

func (*MetricDescriptor) SetPolicy

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

func (*MetricDescriptor) SetPolicyMember

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

func (*MetricDescriptor) SetPolicyWithEtag added in v1.1.0

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

type MetricsScope

type MetricsScope struct{}

func (*MetricsScope) Apply

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

func (*MetricsScope) Delete

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

func (*MetricsScope) DeletePolicyMember added in v1.1.0

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

func (*MetricsScope) Get

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

func (*MetricsScope) GetPolicy

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

func (*MetricsScope) GetPolicyMember

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

func (*MetricsScope) HasDiff

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

func (*MetricsScope) ID

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

func (*MetricsScope) STV

func (*MetricsScope) SetPolicy

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

func (*MetricsScope) SetPolicyMember

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

func (*MetricsScope) SetPolicyWithEtag added in v1.1.0

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

type MonitoredProject

type MonitoredProject struct{}

func (*MonitoredProject) Apply

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

func (*MonitoredProject) Delete

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

func (*MonitoredProject) DeletePolicyMember added in v1.1.0

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

func (*MonitoredProject) Get

func (*MonitoredProject) GetPolicy

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

func (*MonitoredProject) GetPolicyMember

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

func (*MonitoredProject) HasDiff

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

func (*MonitoredProject) ID

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

func (*MonitoredProject) STV

func (*MonitoredProject) SetPolicy

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

func (*MonitoredProject) SetPolicyMember

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

func (*MonitoredProject) SetPolicyWithEtag added in v1.1.0

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

type NotificationChannel

type NotificationChannel struct{}

func (*NotificationChannel) Apply

func (*NotificationChannel) Delete

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

func (*NotificationChannel) DeletePolicyMember added in v1.1.0

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

func (*NotificationChannel) Get

func (*NotificationChannel) GetPolicy

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

func (*NotificationChannel) GetPolicyMember

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

func (*NotificationChannel) HasDiff

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

func (*NotificationChannel) ID

func (*NotificationChannel) STV

func (*NotificationChannel) SetPolicy

func (*NotificationChannel) SetPolicyMember

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

func (*NotificationChannel) SetPolicyWithEtag added in v1.1.0

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

type Service

type Service struct{}

func (*Service) Apply

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

func (*Service) Delete

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

func (*Service) DeletePolicyMember added in v1.1.0

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

func (*Service) Get

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

func (*Service) GetPolicy

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

func (*Service) GetPolicyMember

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

func (*Service) HasDiff

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

func (*Service) ID

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

func (*Service) STV

func (*Service) SetPolicy

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

func (*Service) SetPolicyMember

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

func (*Service) SetPolicyWithEtag added in v1.1.0

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

type ServiceLevelObjective

type ServiceLevelObjective struct{}

func (*ServiceLevelObjective) Apply

func (*ServiceLevelObjective) Delete

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

func (*ServiceLevelObjective) DeletePolicyMember added in v1.1.0

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

func (*ServiceLevelObjective) Get

func (*ServiceLevelObjective) GetPolicy

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

func (*ServiceLevelObjective) GetPolicyMember

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

func (*ServiceLevelObjective) HasDiff

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

func (*ServiceLevelObjective) ID

func (*ServiceLevelObjective) STV

func (*ServiceLevelObjective) SetPolicy

func (*ServiceLevelObjective) SetPolicyMember

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

func (*ServiceLevelObjective) SetPolicyWithEtag added in v1.1.0

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

type UptimeCheckConfig

type UptimeCheckConfig struct{}

func (*UptimeCheckConfig) Apply

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

func (*UptimeCheckConfig) Delete

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

func (*UptimeCheckConfig) DeletePolicyMember added in v1.1.0

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

func (*UptimeCheckConfig) Get

func (*UptimeCheckConfig) GetPolicy

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

func (*UptimeCheckConfig) GetPolicyMember

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

func (*UptimeCheckConfig) HasDiff

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

func (*UptimeCheckConfig) ID

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

func (*UptimeCheckConfig) STV

func (*UptimeCheckConfig) SetPolicy

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

func (*UptimeCheckConfig) SetPolicyMember

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

func (*UptimeCheckConfig) SetPolicyWithEtag added in v1.1.0

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