security

package
v0.0.0-...-b3f0fa4 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2018 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Overview

Copyright 2018 Oracle and/or its affiliates. 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 2018 Oracle and/or its affiliates. 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 2018 Oracle and/or its affiliates. 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

View Source
const (
	CloudDomain = "security"
)

Variables

This section is empty.

Functions

func CreateOrUpdateSecurityRuleSet

func CreateOrUpdateSecurityRuleSet(c clientset.Interface, security *cloudv1alpha1.Security, controllerRef *metav1.OwnerReference, vncRef string) (*v1alpha1.SecurityRuleSet, bool, error)

CreateOrUpdateSecurityRuleSet reconciles the security list resource

func DeleteSecurityRuleSet

func DeleteSecurityRuleSet(c clientset.Interface, security *cloudv1alpha1.Security, securityRuleSetName string) (*v1alpha1.SecurityRuleSet, error)

DeleteSecurityRuleSet deletes the security list resource

func NewSecurityAdapter

func NewSecurityAdapter(clientSet versioned.Interface, kubeclient kubernetes.Interface) cloudcommon.CloudTypeAdapter

func ParseEgressRule

func ParseEgressRule(s string) ocicore.EgressSecurityRule

ParseEgressRule converts a string from the spec to EgressSecurityRule type

func ParseIngressRule

func ParseIngressRule(s string) ocicore.IngressSecurityRule

ParseIngressRule converts a string from the spec to IngressSecurityRule type

Types

type SecurityAdapter

type SecurityAdapter struct {
	// contains filtered or unexported fields
}

func (*SecurityAdapter) CallbackForResource

func (*SecurityAdapter) Delete

func (a *SecurityAdapter) Delete(obj runtime.Object) (runtime.Object, error)

func (*SecurityAdapter) Equivalent

func (a *SecurityAdapter) Equivalent(obj1, obj2 runtime.Object) bool

func (*SecurityAdapter) GroupVersionWithResource

func (a *SecurityAdapter) GroupVersionWithResource() schema.GroupVersionResource

func (*SecurityAdapter) Kind

func (a *SecurityAdapter) Kind() string

func (*SecurityAdapter) ObjectMeta

func (a *SecurityAdapter) ObjectMeta(obj runtime.Object) *metav1.ObjectMeta

func (*SecurityAdapter) Reconcile

func (a *SecurityAdapter) Reconcile(obj runtime.Object) (runtime.Object, error)

func (*SecurityAdapter) Resource

func (a *SecurityAdapter) Resource() string

func (*SecurityAdapter) SetLister

func (a *SecurityAdapter) SetLister(lister cache.GenericLister)

func (*SecurityAdapter) SetQueue

func (*SecurityAdapter) Subscriptions

func (a *SecurityAdapter) Subscriptions() []schema.GroupVersionResource

func (*SecurityAdapter) Update

func (a *SecurityAdapter) Update(obj runtime.Object) (runtime.Object, error)

Jump to

Keyboard shortcuts

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